summaryrefslogtreecommitdiff
path: root/test/clarktown/parsers/link_and_image_test.clj
diff options
context:
space:
mode:
authorAsko Nomm <asko@bien.ee>2022-04-10 05:16:34 +0200
committerAsko Nomm <asko@bien.ee>2022-04-10 05:16:34 +0200
commitd4fd8d01eb9b57f1ee7b770ca24fc5e121b49edc (patch)
tree0170a42d350401bd897a8ca26269ea68928c8c94 /test/clarktown/parsers/link_and_image_test.clj
parent9fae4b6dfabc7485a8a2debf108d8190761590f5 (diff)
Fix #9: Underscores in links get rendered into
Diffstat (limited to 'test/clarktown/parsers/link_and_image_test.clj')
-rw-r--r--test/clarktown/parsers/link_and_image_test.clj4
1 files changed, 2 insertions, 2 deletions
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)
- "<a href=\"https://example.com\">This is a link.</a>"))
+ (is (= (link-and-image/render "[This is a link](https://example.com)" nil)
+ "<a href=\"https://example.com\">This is a link</a>"))
(is (= (link-and-image/render "[x] [label](link)" nil)
"[x] <a href=\"link\">label</a>"))