Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Wow, TIL about the <plaintext> tag. Here I thought I knew most of the corner cases of HTML.


What's bonkers to me is that there is no closing tag, everything after it is no longer parsed as HTML.


If 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.


It's also a great way to check if user input's being parsed server-side! :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: