aboutsummaryrefslogtreecommitdiffstats
path: root/tests/character_reference.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/character_reference.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/character_reference.rs b/tests/character_reference.rs
index 3d2111e..3951e00 100644
--- a/tests/character_reference.rs
+++ b/tests/character_reference.rs
@@ -61,12 +61,11 @@ fn character_reference() {
"should support character references in resource URLs and titles"
);
- // To do: link (reference).
- // assert_eq!(
- // micromark("[foo]: /föö \"föö\"\n\n[foo]"),
- // "<p><a href=\"/f%C3%B6%C3%B6\" title=\"föö\">foo</a></p>",
- // "should support character references in definition URLs and titles"
- // );
+ assert_eq!(
+ micromark("[foo]: /f&ouml;&ouml; \"f&ouml;&ouml;\"\n\n[foo]"),
+ "<p><a href=\"/f%C3%B6%C3%B6\" title=\"föö\">foo</a></p>",
+ "should support character references in definition URLs and titles"
+ );
assert_eq!(
micromark("``` f&ouml;&ouml;\nfoo\n```"),