From fec46e918e5bdf4a9137041298ab1475d2f43202 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 5 Jul 2022 14:52:49 +0200 Subject: Fix interleaving of attention/label --- tests/link_resource.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/link_resource.rs') 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)"), - // "

*foo*

", - // "should prefer links over emphasis (1)" - // ); + assert_eq!( + micromark("*[foo*](/uri)"), + "

*foo*

", + "should prefer links over emphasis (1)" + ); assert_eq!( micromark("[foo *bar](baz*)"), -- cgit