We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51390d7 commit 0a5c89aCopy full SHA for 0a5c89a
tests/test_lists.py
@@ -43,6 +43,9 @@
43
def test_ol():
44
assert md('<ol><li>a</li><li>b</li></ol>') == '1. a\n2. b\n'
45
assert md('<ol start="3"><li>a</li><li>b</li></ol>') == '3. a\n4. b\n'
46
+ assert md('<ol start="-1"><li>a</li><li>b</li></ol>') == '1. a\n2. b\n'
47
+ assert md('<ol start="foo"><li>a</li><li>b</li></ol>') == '1. a\n2. b\n'
48
+ assert md('<ol start="1.5"><li>a</li><li>b</li></ol>') == '1. a\n2. b\n'
49
50
51
def test_nested_ols():
0 commit comments