diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-05 13:49:56 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-05 13:55:56 +0200 |
commit | 55a6f8560cf88b655f49f1a1a59f6c1dc6afe022 (patch) | |
tree | c53e38ee36c72292cedccaebdfce1a6beddeaf6c /tests/link_resource.rs | |
parent | f2d62d446a7b1e03ef14b580e2aca0fad8aa23ef (diff) | |
download | markdown-rs-55a6f8560cf88b655f49f1a1a59f6c1dc6afe022.tar.gz markdown-rs-55a6f8560cf88b655f49f1a1a59f6c1dc6afe022.tar.bz2 markdown-rs-55a6f8560cf88b655f49f1a1a59f6c1dc6afe022.zip |
Fix resizing attention bug
Diffstat (limited to 'tests/link_resource.rs')
-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 bebf6cc..e4037a2 100644 --- a/tests/link_resource.rs +++ b/tests/link_resource.rs @@ -231,12 +231,11 @@ fn link_resource() { "should support characer escapes" ); - // To do: link/attention interplay. - // assert_eq!( - // micromark("[link *foo **bar** `#`*](/uri)"), - // "<p><a href=\"/uri\">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>", - // "should support content" - // ); + assert_eq!( + micromark("[link *foo **bar** `#`*](/uri)"), + "<p><a href=\"/uri\">link <em>foo <strong>bar</strong> <code>#</code></em></a></p>", + "should support content" + ); assert_eq!( micromark("[![moon](moon.jpg)](/uri)"), |