3 ms·
Wow, TIL about the <plaintext> tag. Here I thought I knew most of the corner cases of HTML.
by scrollaway 10y ago
Wow, TIL about the <plaintext> tag. Here I thought I knew most of the corner cases of HTML.
- dbbk 10y agoWhat's bonkers to me is that there is no closing tag, everything after it is no longer parsed as HTML.
- jeffmcjunkin 10y agoIt's also a great way to check if user input's being parsed server-side! :)
- ptx 10y agoIf it disallowed certain words (i.e. treated them specially instead of just reproducing the text as written) such as "</plaintext>" it wouldn't be plain text.