aboutsummaryrefslogtreecommitdiffstats
path: root/tests/link_resource.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-05 14:52:49 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-05 14:52:49 +0200
commitfec46e918e5bdf4a9137041298ab1475d2f43202 (patch)
treefb733a356b234bfeaf18fee911c6af72cfebe615 /tests/link_resource.rs
parent195e25958cfaa42d91b36f3fc51e8315586c6378 (diff)
downloadmarkdown-rs-fec46e918e5bdf4a9137041298ab1475d2f43202.tar.gz
markdown-rs-fec46e918e5bdf4a9137041298ab1475d2f43202.tar.bz2
markdown-rs-fec46e918e5bdf4a9137041298ab1475d2f43202.zip
Fix interleaving of attention/label
Diffstat (limited to 'tests/link_resource.rs')
-rw-r--r--tests/link_resource.rs11
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*)"),