Minor regexp oversight for setext headings

Allan Odgaard 29mtuz102 at sneakemail.com
Sat Oct 7 00:27:30 EDT 2006


Noticed the patterns for setext style headings are:

^(.+)[ \t]*\n=+[ \t]*\n+

Should be:

^(.+?)[ \t]*\n=+[ \t]*\n+



More information about the Markdown-Discuss mailing list