clickrain / EE_Twitter

EE Add-on that uses oAuth to display Twitter Feed
Other
48 stars 18 forks source link

Fails to generate XML if there is an & #16

Closed zizther closed 10 years ago

zizther commented 11 years ago

I am outputting the twitter feed to XML, when there is an '&' in the name the XML is not generated. I don't know if this is an XML or add-on error

bryanburgers commented 11 years ago

@zizther How are other add-ons solving this issue? In my experience, I haven't seen much of the ExpressionEngine ecosystem do HTML or XML escaping in general; have you had the same experience?

zizther commented 11 years ago

I haven't tried with another add-on, since Ellis Labs stopped support for their version your has been the simplest one to achieve a good result.

It works perfectly fine until the name has an '&' in it. For example if i tried to pull in this twitter feed it would fail

https://twitter.com/someoneandsons

I don't know too much about HTML or XML escaping in EE