Page 1 of 1

Textarea in textarea rendering when it should not!?

Posted: Thu Aug 23, 2007 7:28 pm
by JAB Creations
I have a textarea inside of a textarea rendering instead of just being plain text. I've tried adding CDATA though that did more harm then good. The page is text/html. The strange thing is I already do this just fine with XHTML as application/xhtml+xml. What would make a textarea loaded in another textarea render in one situation but not another?

Posted: Fri Aug 24, 2007 7:21 am
by superdezign
That doesn't make sense. Post the source.

Posted: Fri Aug 24, 2007 9:53 am
by feyd
Did you forget to use htmlspecialchars()?

Posted: Fri Aug 24, 2007 9:57 am
by JAB Creations
Ah, added that little bit of magic and the voodoo disappeared. It was present in my site's editor but not in my client's. Thanks!