Why single textarea mess all following xhtml?
- by Victor Lin
I encounter a problem in my web program. I got a textarea in my form, sometimes there is nothing in textarea, so genshi template engine just output it as
<textarea xxxx />
and here comes the problem, all following tags are in the textarea. Why all browser can't handle single textarea correctly?
If I write it as
<textarea xxxx></textarea>
and everything works fine. Why a single textarea messes following tags in xhtml?