Tuesday, 23 June 2015
Problem: Editing post causes quote text field to go blank
[Problem Category: Posting] [by Ankylosaur @9:51pm] [Closed] |
steele said @10:09pm on 23rd Jun In theory I fixed the apostrophe/single quote issue a week or two ago. Let me know if it pops up again, please. |
steele said @10:08pm on 23rd Jun status changed to: [Closed] Fixed. Thank you for letting me know. Problem was in htmlentities($string) not handling non-valid UTF-8 sequences and instead returning a blank string. Fix is like so: htmlentities($string, ENT_QUOTES,'ISO-8859-1') |
http://sensibleendowment.com/entry.php/2303
Also, this might be related, but when I have titles with quote marks in them, stuff after the mark (sometimes?) disappears when editing. Could apostrophes/single-quotes be causing the quote field prob too?