From 2e3b7abaa9877b658fa4f8f2612acc617dff60bb Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 12 Jul 2022 17:47:08 +0200 Subject: Fix a lot of list things * Add `ListItem`, `ListOrdered`, and `ListUnordered` tokens * Add support for multiline list items * Add support for tight lists * Fix bug where 10 digit long list item values worked * Fix skip bug when skipping over nested events --- tests/character_reference.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/character_reference.rs') diff --git a/tests/character_reference.rs b/tests/character_reference.rs index 77cae3f..fe69a3e 100644 --- a/tests/character_reference.rs +++ b/tests/character_reference.rs @@ -91,12 +91,11 @@ fn character_reference() { "should not support character references as construct markers (1)" ); - // To do: list (ordered vs unordered). - // assert_eq!( - // micromark("* foo\n\n* foo"), - // "

* foo

\n", - // "should not support character references as construct markers (2)" - // ); + assert_eq!( + micromark("* foo\n\n* foo"), + "

* foo

\n", + "should not support character references as construct markers (2)" + ); assert_eq!( micromark("[a](url "tit")"), -- cgit