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

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! :)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: