Support » Plugin: WP-Footnotes » [Plugin: WP-Footnotes] Treatment of quotes and apostrophe in Title Attribute

  • 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.

    http://wordpress.org/extend/plugins/wp-footnotes/

Viewing 1 replies (of 1 total)
  • 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'));
    to:
    $id_title = str_replace('"', """, html_entity_decode(htmlentities(strip_tags($value['text'])), ENT_QUOTES, 'UTF-8'));

    As detailed here.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP-Footnotes] Treatment of quotes and apostrophe in Title Attribute’ is closed to new replies.