Hidden text:
xxxxxx
Unhidden text: yyyyyy
AbE:
A search could find "yyyyyy", but not the hidden "xxxxxx". Now let's see if it can find the unhidden "xxxxxx".
AbE2:
Interesting. Hidden text cannot be searched. Looking up how I implemented this...
It's just a div with a "display:none". So do I process the dBCodes first before generating the list of searchable words from the message?
I think the reason is because the last word of the hidden text has no white space before the beginning of the next word, and so they get appended. But there *is* white space, in fact a whole blank line, so this shouldn't happen and is a bug. Testing this possibility now by putting white space inside the hidden section.
Hidden text:
xxxxxx
Unhidden text: yyyyyy
AbE3:
Make the hidden text a string of z's, not x's:
Hidden text:
zzzzzz
Unhidden text: yyyyyy
AbE4:
Yep, that works. Attempting to fix the bug now...
Edited by Percy, : AbE.
Edited by Percy, : AbE2.
Edited by Percy, : AbE3.
Edited by Percy, : AbE4.