snoyberg / markdown

Convert Markdown to HTML, with XSS protection
BSD 3-Clause "New" or "Revised" License
69 stars 401 forks source link

Be more flexible towards accepting "LineRule"s #19

Closed albertov closed 10 years ago

albertov commented 10 years ago

Modified lineType predicate so it recognizes any number of chars belonging to {*, _, -} greater or equal than three, or spaces, as a LineRule.

This makes it recognize things such as ********************* as an horizontal line, as other parsers such as Showdown or Github's do, eg:




albertov commented 10 years ago

Oops, it's true, I overlooked that. I'll fix it and add some tests