aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2024-01-01 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2024-01-01 00:00:00 +0000
commit9d8f0f071a2445097d8afa486da5c8502ed84bfe36f1f712f053a587ec35b895 (patch)
treebac9b89fb7a1838782939b49198998c1db3a76b45321fe2fed5e7d93cfb1ef9b /layouts
parent345b78c401ac36496fb6a705dc7524734e24991893fb774efb8b9f6d711f9e46 (diff)
downloadhugo-theme-journal-9d8f0f071a2445097d8afa486da5c8502ed84bfe36f1f712f053a587ec35b895.tar.gz
hugo-theme-journal-9d8f0f071a2445097d8afa486da5c8502ed84bfe36f1f712f053a587ec35b895.zip
Add missing asterisk for unordered listsv1.2.2
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.gmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi
index 587687c..8cfc741 100644
--- a/layouts/_default/single.gmi
+++ b/layouts/_default/single.gmi
@@ -81,7 +81,7 @@
{{ $rendered_text = $rendered_text | replaceRE `(?m)^[-+] ` "* " -}}
{{/* convert Markdown ordered list item to gemtext unordered list item /* -}}
- {{ $rendered_text = $rendered_text | replaceRE `^[1-9]\d*\.[\t ]+(.*?)[\t ]*$` "$1" -}}
+ {{ $rendered_text = $rendered_text | replaceRE `^[1-9]\d*\.[\t ]+(.*?)[\t ]*$` "* $1" -}}
{{ $rendered_text = $rendered_text | emojify -}}