Re: [PHP] EE1 plugin code/htmlentities() question

2010-11-30 Thread Micky Hulse
Hi Richard! Thanks for the reply, I really appreciate the help. :) On Tue, Nov 30, 2010 at 5:49 AM, Richard Quadling wrote: > I'm guessing that   is only valid in HTML. I see. Ah, it looks like I need to be Googling for "htmlentities and xml". Thanks for tip! > Not sure why / would be encode

Re: [PHP] EE1 plugin code/htmlentities() question

2010-11-30 Thread Richard Quadling
On 29 November 2010 19:24, Micky Hulse wrote: > Hello, > > I was looking at this ExpressionEngine plugin: > > > Description: This plugin converts reserved XML characters to entities. >  It is used in the RSS templates. > > ... Curious abo

[PHP] EE1 plugin code/htmlentities() question

2010-11-29 Thread Micky Hulse
Hello, I was looking at this ExpressionEngine plugin: Description: This plugin converts reserved XML characters to entities. It is used in the RSS templates. ... Curious about this code: trim(str_replace(array('/', ' '), array("/", '