diff options
author | Nicholas Johnson <nick@nicholasjohnson.ch> | 2024-02-04 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicholasjohnson.ch> | 2024-02-04 00:00:00 +0000 |
commit | 6fb9b31da19e1b75e34a163189f2298190c618ed383de1362c2e2b90a14e2c0c (patch) | |
tree | 0c0d894dc65dd0be4b2c7473279ddd5a702a4ebdc7ad7282618fd94c8e1cd204 /layouts/_default | |
parent | b61c25ce04c324b5d19173b24d4c0dd611f1c207668d292b913cb6d83f294319 (diff) | |
download | hugo-theme-journal-6fb9b31da19e1b75e34a163189f2298190c618ed383de1362c2e2b90a14e2c0c.tar.gz hugo-theme-journal-6fb9b31da19e1b75e34a163189f2298190c618ed383de1362c2e2b90a14e2c0c.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.gmi | 2 |
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 -}} |