<textarea> How to get rid of <br> and <p> from within

5 replies
  • WEB DESIGN
  • |
Hi

Using Wordpress HTML editor.
I wish to put plain text inside a <textarea> tag but WP puts <br> and <p> tags to the text inside the textarea tags at the end of each line.

It is doing my head in trying to remove them because after every save it automatically adds them again.
EG:

It should be like this:
<textarea rows="20" cols="60">
blah blah blah
blah blah blah
</textarea>

but when i view it on webpage i get

blah blah blah <br />
blah blah blah <br />
blah blah blah <br />

no matter how i try i can not stop WP from automatically adding line break tags

Any help, ideas, plugins perhaps.

Thanks

Peter :confused:
#&ltbr&gt #&ltp&gt #&lttextarea&gt #<br> #<p> #<textarea> #rid

Trending Topics