From 9d8f0f071a2445097d8afa486da5c8502ed84bfe36f1f712f053a587ec35b895 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Mon, 1 Jan 2024 00:00:00 +0000 Subject: Add missing asterisk for unordered lists --- layouts/_default/single.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -}} -- cgit v1.2.3