From c0830ef2a8289747eebb1f662fdad390dfee3491d62eddb0176047998949b668 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Thu, 4 May 2023 00:00:00 +0000 Subject: Add support for + unordered list symbol --- layouts/_default/single.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts') diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index df0ff26..c24c424 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -34,7 +34,7 @@ {{- $rendered_text = $rendered_text | replaceRE `\*{3}(\S|\S.*?\S)\*{3}` "$1" }} {{- $rendered_text = $rendered_text | replaceRE `\*{2}(\S|\S.*?\S)\*{2}` "$1" }} {{- $rendered_text = $rendered_text | replaceRE `\*{1}(\S|\S.*?\S)\*{1}` "$1" }} - {{- $rendered_text = $rendered_text | replaceRE `(?m)^- ` "* " }} + {{- $rendered_text = $rendered_text | replaceRE `(?m)^[-+] ` "* " }} {{- $rendered_text = $rendered_text | emojify }} {{- if $before_pre }} -- cgit v1.2.3