News for hackers. Stuff that matters.
Re:RFC 7764 – Guidance on Markdown by dsp1234 on Wednesday December 14, 2016 @12:20PM (#13177681)
(non-trivially, and not always, granted)

Note that <li> example is perfectly valid, and will be parsed correctly by any html5 capable parser. Per the html5 spec, the closing tag on an <li> element is optional.[0]

[0] - https://html.spec.whatwg.org/#optional-tags

An li element's end tag may be omitted if the li element is immediately followed by another li element or if there is no more content in the parent element.

Re:RFC 7764 – Guidance on Markdown by verandaguy on Wednesday December 14, 2016 @12:32PM (#13177826)
Fair enough, TIL. I'd imagine it's much less valid if the missing closing `</li>` is on the first line, though.
Re:RFC 7764 – Guidance on Markdown by mbrock on Wednesday December 14, 2016 @01:05PM (#13178152)
No, you can write the entire list without any </li> tags and it's perfectly fine. You also generally don't need to close your <p> tags to start a new paragraph, because paragraphs don't nest inside each other.
Re:RFC 7764 – Guidance on Markdown by dsp1234 on Wednesday December 14, 2016 @02:50PM (#13179085)
This is a perfectly valid html5 document:

  <!doctype html>
  <title></title>
  <ul>
    <li>item1
    <li>item2
  </ul>