From dce85da71fe9ec8b41ad57ea86bbac448b143afe Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 8 Sep 2026 21:35:13 +0100 Subject: set prefix to nothing if not first line of ``` --- http/bin/gmi2upphtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http/bin/gmi2upphtml b/http/bin/gmi2upphtml index 3d36409..afaf9ef 100755 --- a/http/bin/gmi2upphtml +++ b/http/bin/gmi2upphtml @@ -110,6 +110,8 @@ do then prefix="
"
       is_first_line_of_preformatted_block=0
+    else
+      prefix=""
     fi
     if [ "$(echo "$line" | cut -c1-3)" = "\`\`\`" ]
     then
-- 
cgit v1.2.3