showdownjs / showdown

A bidirectional Markdown to HTML to Markdown converter written in Javascript
http://www.showdownjs.com/
MIT License
14.26k stars 1.56k forks source link

list numbering overridden incorrectly #720

Open garymm opened 5 years ago

garymm commented 5 years ago

I typed a literal "3." and it was rendered to a "1.".

http://demo.showdownjs.com/#!/1.%20One%0A%20%20*%20Bullet%0A%0A3.%20Three

I realize I can tweak the indentation of the bulleted list to get this to work as expected, but I still think this is a bug.

I would think the auto-list numbering would only be triggered when the number in the list is 1. If I've typed in a number other than 1, I would expect it to be rendered exactly as I typed it.

rokinsky commented 4 years ago

Any update about this issue?