Hacker Times
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
scrollaway
on March 14, 2017
|
parent
|
context
|
favorite
| on:
A Formal Spec for GitHub Flavored Markdown
Wow, TIL about the <plaintext> tag. Here I thought I knew most of the corner cases of HTML.
dbbk
on March 14, 2017
[–]
What's bonkers to me is that there is no closing tag,
everything
after it is no longer parsed as HTML.
ptx
on March 15, 2017
|
parent
|
next
[–]
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.
jeffmcjunkin
on March 14, 2017
|
parent
|
prev
[–]
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: