[Phpwm] HTML entities in a text area

Mike mike at etuna.co.uk
Thu Sep 20 13:29:51 BST 2007


I'm having problems with displaying HTML code in a text area.

 

If the HTML code contains an entity (é) the textarea decided to
render it so when the text area is submitted all the entities I had in there
have been converted.

 

Any idea how I can get around this. I suppose I could use htmlentities() on
what I get out of the text area but this would be messing with the users
HTML after they had approved it so I'm not keen on the idea.

 

Any ideas appreciated.

 

Cheers

 

Mike 



More information about the Phpwm mailing list