Treatment of quotes and apostrophe in Title Attribute (2 posts)

  1. Adam J. Seidl
    Posted 4 years ago #

    I've gone ahead and installed the plugin. It works great, but my apostrophes and quotes inside the title tag are coming up as their HTML entity decimal equivalents.

    I'm aware this is likely not directly caused by the plugin (otherwise other people would have it) but I was hoping someone could point me in the right direction as to where I might find it.


  2. jangari
    Posted 4 years ago #

    There was a fix mentioned in a thread a while back, almost a year ago.

    Line 217 of footnotes.php needs to be replaced from:
    $id_title = str_replace('"', """, htmlentities(strip_tags($value['text']), ENT_QUOTES, 'UTF-8'));
    $id_title = str_replace('"', """, html_entity_decode(htmlentities(strip_tags($value['text'])), ENT_QUOTES, 'UTF-8'));

    As detailed here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic