repos/kloeckner.com.ar

Backup of part of my webpage
Commits Files Refs README LICENSE
commit 5314713c9ab9803d0fad6df238aec20dbe1f0a1d
parent 30df46e10fc9e28475b6d78bc58833ab205a065c
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date:   Sat, 29 Aug 2026 12:58:24 -0300

Fix code tags not preserving spaces in articles

Diffstat:
Mscripts/build_page.sh | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/build_page.sh b/scripts/build_page.sh
@@ -79,7 +79,9 @@ echo "date: $date"
 # lowdown --html-no-head-ids --html-no-escapehtml --html-no-owasp > body.html
 # sed '/^%%/,/^%%/'
 sed '/^%%/,/^%%/d' $input |\
-    lowdown --html-no-head-ids --html-no-escapehtml --html-no-owasp > body.html
+    lowdown --html-no-head-ids \
+        --html-no-skiphtml --html-no-escapehtml \
+        --html-no-owasp > body.html
 
 # puts id to <h1> tag and adds paragraph next to it with the article-date
 sed -i -e 's/<h1>/<h1 id=article-title>/g' \