[markdown] Typing `- - -` followed by Enter incorrectly adds a new list item
Markdown allows a horizontal rule to be added by typing ---
or ***
.
It also allows - - -
, -- -
, - --
, and it's *
variants. Our auto-numbering triggers a new list item when typing Enter after these.
We need to detect these instances and not add the list item.
Originally reported by @smcgivern here