From bf9460fddeec7366df117ddae13b7d31d3354313 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 30 Jun 2022 12:49:55 +0200 Subject: Add support for stripping tags in image `alt` --- 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 992c7d2..d75736e 100644 --- a/tests/link_resource.rs +++ b/tests/link_resource.rs @@ -257,12 +257,11 @@ fn link_resource() { // "should not support links in links (2)" // ); - // To do: tags in images. - // assert_eq!( - // micromark("![[[foo](uri1)](uri2)](uri3)"), - // "

\"[foo](uri2)\"

", - // "should not support links in links (3)" - // ); + assert_eq!( + micromark("![[[foo](uri1)](uri2)](uri3)"), + "

\"[foo](uri2)\"

", + "should not support links in links (3)" + ); assert_eq!( micromark("*[foo*](/uri)"), -- cgit