From 0882180daacc179a2967522b319e9cfef11dede7 Mon Sep 17 00:00:00 2001 From: Dillon ZENG Date: Sun, 11 Aug 2019 04:12:05 +0800 Subject: [PATCH] fix: smarter typeit shortcode Signed-off-by: Dillon ZENG --- layouts/shortcodes/typeit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/typeit.html b/layouts/shortcodes/typeit.html index 98f420a..4cf0bf8 100644 --- a/layouts/shortcodes/typeit.html +++ b/layouts/shortcodes/typeit.html @@ -12,7 +12,7 @@ {{ $content = replaceRE `\n` "\n" $content }} {{ $content = replaceRE `(?m)^()(.*?)\[(.*?)\]\((.*?)\)(.*?)()` "$1$2$6$3$1$5$6" $content }} {{ $content = replaceRE `(?m)^( +)$1( +)$1" }} + {{ $content = replaceRE `( +)$1" }}
{{ else }}