Fieldtype, Module

Archived
Forum
(read-only)

CE Tweet

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Causing Effect

     

Handling tweets with unescaped single quote

Support Request

ucberkeley
ucberkeley

Hello,

How does one deal with a tweet status that contains an apostrophe (single quote)?  For example, if the status is:

Listening to her: <a href="http://twitter.com/search/#HillaryClinton" target="_blank">#<span>HillaryClinton</span></a>'s dilemma http://t.co/tnmOJ0O0Sq via BerkeleyBlog <a href="http://twitter.com/search/#gender" target="_blank">#<span>gender</span></a> 

it seems that the problem lies in the {text} variable and adding htmlentities or htmlspecialchars to it does not work.  Am I missing something?