diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-05 14:52:49 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-05 14:52:49 +0200 |
commit | fec46e918e5bdf4a9137041298ab1475d2f43202 (patch) | |
tree | fb733a356b234bfeaf18fee911c6af72cfebe615 /tests/link_resource.rs | |
parent | 195e25958cfaa42d91b36f3fc51e8315586c6378 (diff) | |
download | markdown-rs-fec46e918e5bdf4a9137041298ab1475d2f43202.tar.gz markdown-rs-fec46e918e5bdf4a9137041298ab1475d2f43202.tar.bz2 markdown-rs-fec46e918e5bdf4a9137041298ab1475d2f43202.zip |
Fix interleaving of attention/label
Diffstat (limited to '')
-rw-r--r-- | tests/link_resource.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/link_resource.rs b/tests/link_resource.rs index e4037a2..31e4b81 100644 --- a/tests/link_resource.rs +++ b/tests/link_resource.rs @@ -261,12 +261,11 @@ fn link_resource() { "should not support links in links (3)" ); - // To do: link/attention interplay. - // assert_eq!( - // micromark("*[foo*](/uri)"), - // "<p>*<a href=\"/uri\">foo*</a></p>", - // "should prefer links over emphasis (1)" - // ); + assert_eq!( + micromark("*[foo*](/uri)"), + "<p>*<a href=\"/uri\">foo*</a></p>", + "should prefer links over emphasis (1)" + ); assert_eq!( micromark("[foo *bar](baz*)"), |