diff options
| author | Asko Nomm <asko@bien.ee> | 2022-04-10 05:16:34 +0200 |
|---|---|---|
| committer | Asko Nomm <asko@bien.ee> | 2022-04-10 05:16:34 +0200 |
| commit | d4fd8d01eb9b57f1ee7b770ca24fc5e121b49edc (patch) | |
| tree | 0170a42d350401bd897a8ca26269ea68928c8c94 /test/clarktown/parsers/link_and_image_test.clj | |
| parent | 9fae4b6dfabc7485a8a2debf108d8190761590f5 (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.clj | 4 |
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>")) |
