diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.gmi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi index 39a6cb5..93501e0 100644 --- a/layouts/_default/single.gmi +++ b/layouts/_default/single.gmi @@ -6,5 +6,5 @@ {{- $content = $content | replaceRE `\n####{0,3}` "\n###" }} {{- $content = $content | replaceRE `\n\[(.+?)\]\((.+?)\)` "\n=> $2 $1" }} {{- $content = $content | replaceRE `\*{3}(.+?)\*{3}|\*{2}(.+?)\*{2}|\*{1}(.+?)\*{1}` "$1$2$3$4$5$6" }} -{{- $content = $content | replaceRE `\n- (.+?)` "\n* $1" }} +{{- $content = $content | replaceRE `\n- ` "\n* " }} {{- $content | safeHTML }}{{ end }} |