From 3770175783d53f9008d81dca8b19741b218d925f Mon Sep 17 00:00:00 2001 From: Asko Nomm Date: Tue, 5 Apr 2022 01:38:03 +0200 Subject: bump --- src/clarktown/parsers/code_block.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/clarktown/parsers/code_block.clj') diff --git a/src/clarktown/parsers/code_block.clj b/src/clarktown/parsers/code_block.clj index 9d41ae7..b1699d7 100644 --- a/src/clarktown/parsers/code_block.clj +++ b/src/clarktown/parsers/code_block.clj @@ -4,7 +4,7 @@ (defn is? - "Determines whether or not we're dealing with a code block." + "Determines whether we're dealing with a code block." [block] (and (string/starts-with? block "```") (string/ends-with? block "```"))) @@ -23,6 +23,7 @@ (string/replace n #"<" "<") (string/replace n #">" ">") (string/replace n #"\n" "
") + (string/replace n #"\tab" "") (string/trim n))] (if language (str "
" code "
") -- cgit v1.2.3