Twitter Tracker
Characters not being translated correctly: &, >, etc (4 posts)

  1. Bunny Sinclair
    Posted 2 years ago #

    The Twitter widget isn't processing certain characters correctly, like & and <, >, etc. Instead they are rendering as HTML code.

    Can you suggest where to update the PHP?


  2. Bunny Sinclair
    Posted 2 years ago #

    Looks like this hasn't been fixed yet, but for anyone else who's running into this issue, I just added the following line of code to the twitter-search.php file:

    // Decode special characters By: JSF
    $content = htmlspecialchars_decode( $content );

  3. Bunny Sinclair
    Posted 2 years ago #

    By the way, it would help if the above line of code could be added to the plugin source files, so that it will be present with each update. Thx.

  4. jaquintd
    Posted 2 years ago #

    hmm, this didn't work for me. Any idea if it matters what line it's on in model/twitter-search.php?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Twitter Tracker
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.