Closed
Description
originally reported here 9.5 years ago: https://sourceforge.net/p/tidy/bugs/787/
tidy adds whitespace inside textarea and pre tags. This changes the meaning of the document.
If I run tidy on the following:
<textarea>foo</textarea>
tidy turns this into:
<textarea>
foo
</textarea>
See the above link for more details and discussion.
The HTML5 spec says to ignore the first character in a textarea if it is a newline, but I don't think it says to ignore a newline at the end.