diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-18 10:58:40 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-18 10:58:40 +0200 |
commit | c1050b3527cc2d94ba1d8575e40fcc7700d3dcc3 (patch) | |
tree | 0a1ba71f4484f83c2237b8033f9b871689a262d8 /tests | |
parent | 32f9f35d89e41072543186969b995ac9aa020f98 (diff) | |
download | markdown-rs-c1050b3527cc2d94ba1d8575e40fcc7700d3dcc3.tar.gz markdown-rs-c1050b3527cc2d94ba1d8575e40fcc7700d3dcc3.tar.bz2 markdown-rs-c1050b3527cc2d94ba1d8575e40fcc7700d3dcc3.zip |
Fix edge case in identifier normalization
Diffstat (limited to 'tests')
-rw-r--r-- | tests/commonmark.rs | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/tests/commonmark.rs b/tests/commonmark.rs index 503acca..b75c940 100644 --- a/tests/commonmark.rs +++ b/tests/commonmark.rs @@ -6130,16 +6130,15 @@ bar>)</p> r###"Links (537)"### ); - // To do: Some unicode normalization bug. - // assert_eq!( - // micromark_with_options(r###"[ẞ] - - // [SS]: /url - // "###, DANGER), - // r###"<p><a href="/url">ẞ</a></p> - // "###, - // r###"Links (538)"### - // ); + assert_eq!( + micromark_with_options(r###"[ẞ] + +[SS]: /url +"###, DANGER), + r###"<p><a href="/url">ẞ</a></p> +"###, + r###"Links (538)"### +); assert_eq!( micromark_with_options(r###"[Foo |