Spec says: “If a line containing a single
- can be interpreted as an empty list items [TYPO: should be item], it should be interpreted this way and not as a setext header underline.”
But if you think about it, this rules out all one-character hyphen underlines. For, the following is a list with one empty item:
A list can start directly after a paragraph, with no intervening blank line:
hi - a
So, in this example, the second line is interpretable as an empty list item:
According to the spec as written, it shouldn’t be a setext header, but the reference parser treats it as one.
Should the spec be changed? (To ban empty list items? To require at least two
-- for a setext header underline?) Or the implementations?