diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-09 14:03:04 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-09 14:03:04 +0200 |
commit | cba78821ed13d5a92c74d092914fbad4c842f889 (patch) | |
tree | 669b341687e0e1fc9f443625d7a29c5a56d9f700 /tests/html_flow.rs | |
parent | 10355a403f57c93a074716c785d588c76de5634c (diff) | |
download | markdown-rs-cba78821ed13d5a92c74d092914fbad4c842f889.tar.gz markdown-rs-cba78821ed13d5a92c74d092914fbad4c842f889.tar.bz2 markdown-rs-cba78821ed13d5a92c74d092914fbad4c842f889.zip |
Add temporary support for stripping whitespace
Diffstat (limited to 'tests/html_flow.rs')
-rw-r--r-- | tests/html_flow.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/html_flow.rs b/tests/html_flow.rs index 18eff2d..0a5ec72 100644 --- a/tests/html_flow.rs +++ b/tests/html_flow.rs @@ -814,12 +814,11 @@ fn html_flow_7_complete() { "should not support a line ending directly after a tag name" ); - // To do: trim trailing whitespace. - // assert_eq!( - // micromark_with_options("<x ", DANGER), - // "<p><x</p>", - // "should not support an eof after a space directly after a tag name" - // ); + assert_eq!( + micromark_with_options("<x ", DANGER), + "<p><x</p>", + "should not support an eof after a space directly after a tag name" + ); assert_eq!( micromark_with_options("<x/", DANGER), |