aboutsummaryrefslogtreecommitdiffstats
path: root/tests/commonmark.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/commonmark.rs26
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>  &amp; © Æ Ď
- // ¾ ℋ ⅆ
- // ∲ ≧̸</p>
- // "###,
- // r###"Entity and numeric character references (24)"###
- // );
+ assert_eq!(
+ micromark_with_options(
+ r###"&nbsp; &amp; &copy; &AElig; &Dcaron;
+&frac34; &HilbertSpace; &DifferentialD;
+&ClockwiseContourIntegral; &ngE;
+"###,
+ DANGER
+ ),
+ r###"<p>  &amp; © Æ Ď
+¾ ℋ ⅆ
+∲ ≧̸</p>
+"###,
+ r###"Entity and numeric character references (24)"###
+ );
assert_eq!(
micromark_with_options(