summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorNicholas Johnson <nick@nicholasjohnson.ch>2024-02-04 00:00:00 +0000
committerNicholas Johnson <nick@nicholasjohnson.ch>2024-02-04 00:00:00 +0000
commit6fb9b31da19e1b75e34a163189f2298190c618ed383de1362c2e2b90a14e2c0c (patch)
tree0c0d894dc65dd0be4b2c7473279ddd5a702a4ebdc7ad7282618fd94c8e1cd204 /layouts/_default
parentb61c25ce04c324b5d19173b24d4c0dd611f1c207668d292b913cb6d83f294319 (diff)
downloadhugo-theme-journal-915335dd1e54df23f44cc3d748eca685b4f44d67428c04d96357fa43a1bf768e.tar.gz
hugo-theme-journal-915335dd1e54df23f44cc3d748eca685b4f44d67428c04d96357fa43a1bf768e.zip
Fix end of comment delimiterv1.2.3
The incorrect delimiter was commenting out subsequent regex rules, making it so they never got applied.
Diffstat (limited to 'layouts/_default')
-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 fa42e65..5671a23 100644
--- a/layouts/_default/single.gmi
+++ b/layouts/_default/single.gmi
@@ -80,7 +80,7 @@
{{/* convert alternative unordered lists symbols to asterisks */ -}}
{{ $rendered_text = $rendered_text | replaceRE `(?m)^[-+] ` "* " -}}
- {{/* convert Markdown ordered list item to gemtext unordered list item /* -}}
+ {{/* convert Markdown ordered list item to gemtext unordered list item */ -}}
{{ $rendered_text = $rendered_text | replaceRE `(?m)^[1-9]\d*\.[\t ]+(.*?)[\t ]*$` "* $1" -}}
{{ $rendered_text = $rendered_text | emojify -}}