Closed dcyriller closed 3 years ago
A single newline may be placed immediately after the start tag of pre and textarea elements. This does not affect the processing of the element.
As html is case insensitive to tag names, it was also applied to <TextArea> or <PRE>.
<TextArea>
<PRE>
But... Angle bracket components have been introduced. And <TextArea> is now primarly a component, instead of a <textarea>.
<textarea>
This PR would adjust the html spec implementation to only lowercased textarea and pre tags.
textarea
pre
html tags is insensitive, why treat lowercased one differently?
This is not a good solution, I'll propose another one.
59 applied a detail from the html spec:
As html is case insensitive to tag names, it was also applied to
<TextArea>
or<PRE>
.But... Angle bracket components have been introduced. And
<TextArea>
is now primarly a component, instead of a<textarea>
.This PR would adjust the html spec implementation to only lowercased
textarea
andpre
tags.