Skip to content

Commit 1b5dbc9

Browse files
committed
add an tasklist XHTML test
1 parent 37ee930 commit 1b5dbc9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

MD4LeanTestDriver.lean

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ open MD4Lean.Test.Parser
1313
#guard_msgs in
1414
#eval MD4Lean.renderHtml "Hello *world*"
1515

16+
/-- info: some "<ul>\n<li class=\"task-list-item\"><input type=\"checkbox\" class=\"task-list-item-checkbox\" disabled=\"true\" />Is this valid XHTML?</li>\n<li class=\"task-list-item\"><input type=\"checkbox\" class=\"task-list-item-checkbox\" disabled=\"true\" checked=\"true\" />Is this valid XHTML?</li>\n</ul>\n" -/
17+
#guard_msgs in
18+
#eval MD4Lean.renderHtml "- [ ] Is this valid XHTML?\n- [x] Is this valid XHTML?"
19+
1620
/-!
1721
1822
# Parsing tests

0 commit comments

Comments
 (0)