diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-15 18:22:57 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-15 18:22:57 +0200 |
commit | b0a2ce50ecb1a1531b2f7dc4591c9809bb23ed55 (patch) | |
tree | 6ee61075a1d0700fc694d257ed1c7fd4c63db5d2 /tests/commonmark.rs | |
parent | 437d3f8bd5633194406fb70b3567bfeb76f18ea5 (diff) | |
download | markdown-rs-b0a2ce50ecb1a1531b2f7dc4591c9809bb23ed55.tar.gz markdown-rs-b0a2ce50ecb1a1531b2f7dc4591c9809bb23ed55.tar.bz2 markdown-rs-b0a2ce50ecb1a1531b2f7dc4591c9809bb23ed55.zip |
Fix to use single array for character references
Diffstat (limited to '')
-rw-r--r-- | tests/commonmark.rs | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/tests/commonmark.rs b/tests/commonmark.rs index dade5ff..79be42a 100644 --- a/tests/commonmark.rs +++ b/tests/commonmark.rs @@ -346,18 +346,20 @@ foo r###"Backslash escapes (23)"### ); - // To do: bug. - // assert_eq!( - // micromark_with_options(r###" & © Æ Ď - // ¾ ℋ ⅆ - // ∲ ≧̸ - // "###, DANGER), - // r###"<p> & © Æ Ď - // ¾ ℋ ⅆ - // ∲ ≧̸</p> - // "###, - // r###"Entity and numeric character references (24)"### - // ); + assert_eq!( + micromark_with_options( + r###" & © Æ Ď +¾ ℋ ⅆ +∲ ≧̸ +"###, + DANGER + ), + r###"<p> & © Æ Ď +¾ ℋ ⅆ +∲ ≧̸</p> +"###, + r###"Entity and numeric character references (24)"### + ); assert_eq!( micromark_with_options( |