diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-29 16:14:32 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-29 16:14:32 +0200 |
commit | fa37356074c1bc3a0f74b6f6a22e038b7842ff4d (patch) | |
tree | 6e91262eb1d10acf08bae36fc1902e64e8178366 /tests/character_reference.rs | |
parent | a1a66ce2a848458a7e0cdaf110ceeffb7b8943a2 (diff) | |
download | markdown-rs-fa37356074c1bc3a0f74b6f6a22e038b7842ff4d.tar.gz markdown-rs-fa37356074c1bc3a0f74b6f6a22e038b7842ff4d.tar.bz2 markdown-rs-fa37356074c1bc3a0f74b6f6a22e038b7842ff4d.zip |
Add support for compiling definitions
Diffstat (limited to 'tests/character_reference.rs')
-rw-r--r-- | tests/character_reference.rs | 11 |
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öö \"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("``` föö\nfoo\n```"), |