Textarea / xmp starts with closing element
-
Hi folks,
I’m running into a strange thing I can’t figure out.
My goal is to echo results as HTML, which makes it possible to re-use the generated code elsewhere (post, page etc.). So I wrapped the content in a <textarea> element which does the job, but the output starts with a closing </p> element and ends with an open <p> element. Example:<textarea><p>tekst</p></textarea>
or
<xmp><p>tekst</p></xmp>
Which outputs this:
</p> <p>tekst</p> <p>
Anyone who has an idea how to solve this?
The page I need help with: [log in to see the link]
- The topic ‘Textarea / xmp starts with closing element’ is closed to new replies.