From 6fb9b31da19e1b75e34a163189f2298190c618ed383de1362c2e2b90a14e2c0c Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Sun, 4 Feb 2024 00:00:00 +0000 Subject: Fix end of comment delimiter The incorrect delimiter was commenting out subsequent regex rules, making it so they never got applied. --- layouts/_default/single.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default') 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 -}} -- cgit v1.2.3