diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-15 11:48:20 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-15 11:48:23 +0200 |
commit | c51784f08024e9dc3dc940a2a6b0db171f56aaa7 (patch) | |
tree | 1ea2029dd90ee59584d7db780c5b2fa29cc58e88 /tests | |
parent | a7a4d19fe3bc9e5e0c3218d9af41d9cee80e9374 (diff) | |
download | markdown-rs-c51784f08024e9dc3dc940a2a6b0db171f56aaa7.tar.gz markdown-rs-c51784f08024e9dc3dc940a2a6b0db171f56aaa7.tar.bz2 markdown-rs-c51784f08024e9dc3dc940a2a6b0db171f56aaa7.zip |
Fix annoying bug around virtual spaces in containers
Diffstat (limited to 'tests')
-rw-r--r-- | tests/list.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/list.rs b/tests/list.rs index 0360ee7..2ef349b 100644 --- a/tests/list.rs +++ b/tests/list.rs @@ -528,12 +528,11 @@ fn list() { "should remove indent of code (fenced) in list (4 spaces)" ); - // To do: list (something ugly with tabs and counts and skips?). - // assert_eq!( - // micromark("- ```\n\t\n ```"), - // "<ul>\n<li>\n<pre><code> \n</code></pre>\n</li>\n</ul>", - // "should remove indent of code (fenced) in list (1 tab)" - // ); + assert_eq!( + micromark("- ```\n\t\n ```"), + "<ul>\n<li>\n<pre><code> \n</code></pre>\n</li>\n</ul>", + "should remove indent of code (fenced) in list (1 tab)" + ); assert_eq!( micromark("- +\n-"), |