aboutsummaryrefslogtreecommitdiffstats
path: root/tests/html_flow.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-09 14:03:04 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-09 14:03:04 +0200
commitcba78821ed13d5a92c74d092914fbad4c842f889 (patch)
tree669b341687e0e1fc9f443625d7a29c5a56d9f700 /tests/html_flow.rs
parent10355a403f57c93a074716c785d588c76de5634c (diff)
downloadmarkdown-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.rs11
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>&lt;x</p>",
- // "should not support an eof after a space directly after a tag name"
- // );
+ assert_eq!(
+ micromark_with_options("<x ", DANGER),
+ "<p>&lt;x</p>",
+ "should not support an eof after a space directly after a tag name"
+ );
assert_eq!(
micromark_with_options("<x/", DANGER),