Support the start attribute for ordered lists

This commit is contained in:
SimonIT
2020-08-11 11:43:02 +02:00
parent 0dc281e6ea
commit ca98892953
2 changed files with 6 additions and 1 deletions

View File

@@ -123,6 +123,7 @@ def test_i():
def test_ol():
assert md('<ol><li>a</li><li>b</li></ol>') == '\n1. a\n2. b\n\n'
assert md('<ol start="3"><li>a</li><li>b</li></ol>') == '\n3. a\n4. b\n\n'
def test_p():