refactory-id / bootstrap-markdown

Bootstrap plugin for markdown editing
Apache License 2.0
1.99k stars 370 forks source link

Numbered lists do not correctly add the next number for next list item #256

Closed webdevbrian closed 8 years ago

webdevbrian commented 8 years ago

Here's a pen from another person who submitted another issue for a test: http://codepen.io/greenido/pen/BKomNv

If you type "list" as an example multiple times with a line break, then select the numbered list option, it just adds "1." to each of them, not correctly going to 2,3,4, etc.

Here's a screencast of the bug for clarification: http://d.pr/v/cPO6

The desired outcome should be shown as:

1. List
2. List
3. List

etc.

webdevbrian commented 8 years ago

I added a PR to fix this here: https://github.com/toopay/bootstrap-markdown/pull/257

toopay commented 8 years ago

@webdevbrian Appreciated!