From d4fd8d01eb9b57f1ee7b770ca24fc5e121b49edc Mon Sep 17 00:00:00 2001 From: Asko Nomm Date: Sun, 10 Apr 2022 05:16:34 +0200 Subject: Fix #9: Underscores in links get rendered into --- test/clarktown/parsers/link_and_image_test.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/clarktown/parsers') diff --git a/test/clarktown/parsers/link_and_image_test.clj b/test/clarktown/parsers/link_and_image_test.clj index eadfc58..5630306 100644 --- a/test/clarktown/parsers/link_and_image_test.clj +++ b/test/clarktown/parsers/link_and_image_test.clj @@ -6,8 +6,8 @@ (deftest link-test (testing "Creating a link" - (is (= (link-and-image/render "[This is a link.](https://example.com)" nil) - "This is a link.")) + (is (= (link-and-image/render "[This is a link](https://example.com)" nil) + "This is a link")) (is (= (link-and-image/render "[x] [label](link)" nil) "[x] label")) -- cgit v1.2.3