aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8cfc741..fa42e65 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 `(?m)^[1-9]\d*\.[\t ]+(.*?)[\t ]*$` "* $1" -}}
{{ $rendered_text = $rendered_text | emojify -}}