From 8cab128231fd782a5a9509580e764d48493cf470 Mon Sep 17 00:00:00 2001 From: Jesse Eisses Date: Sat, 12 Oct 2024 10:54:04 +0200 Subject: Support rendering of images with an empty alt --- test/clarktown/renderers/link_and_image_test.clj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/clarktown/renderers/link_and_image_test.clj b/test/clarktown/renderers/link_and_image_test.clj index d17e070..e336057 100644 --- a/test/clarktown/renderers/link_and_image_test.clj +++ b/test/clarktown/renderers/link_and_image_test.clj @@ -20,4 +20,7 @@ (testing "Creating an image" (is (= (link-and-image/render "![This is an image](https://example.com)" nil nil) - "\"This")))) \ No newline at end of file + "\"This")) + + (is (= (link-and-image/render "![](https://example.com)" nil nil) + "\"\"")))) -- cgit v1.2.3