Prohibit setext headers from starting with spaces
commit0b907b9a89171d642f9c55e86a6cb7f21135afc9
authorJason Blevins <jrblevin@sdf.org>
Sat, 11 Jun 2016 00:45:51 +0000 (10 20:45 -0400)
committerJason Blevins <jrblevin@sdf.org>
Sat, 11 Jun 2016 00:45:53 +0000 (10 20:45 -0400)
tree1cc39b2f6699ccf7482f03083bb5f136676bb18a
parent437713de8b6ce18485fdc9733d38cf125c56fee9
Prohibit setext headers from starting with spaces

Avoids ambiguity between setext headings and in-progress lists (e.g.,
when the point is at X below):

- foo
    - bar
-X

Closes GH-143.
markdown-mode.el
tests/markdown-test.el