commit c1c64390625a7c5093912252b5ed96db677d02d0 parent 6d0ecf55e3f88a8468849223a60239ed1e6c84c5 Author: JayVii <jayvii[AT]posteo[DOT]de> Date: Thu, 19 Mar 2026 20:22:39 +0100 fix: ensure bold and italic text is rendered correctly Diffstat:
| M | generate.sh | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/generate.sh b/generate.sh @@ -98,13 +98,13 @@ sed -E \ -i ./output/zeitung.md ## replace strong, bold, italic, emphasis tags with markdown syntax -perl -pe 'BEGIN{undef $/;} s/<strong[^>]*?>(.*?)<\/strong>/__$1__/smg' \ +perl -pe 'BEGIN{undef $/;} s/<strong[^>]*?>(.*?)<\/strong>/ __$1__ /smg' \ -i ./output/zeitung.md -perl -pe 'BEGIN{undef $/;} s/<b[^>]*?>(.*?)<\/b>/__$1__/smg' \ +perl -pe 'BEGIN{undef $/;} s/<b[^>]*?>(.*?)<\/b>/ __$1__ /smg' \ -i ./output/zeitung.md -perl -pe 'BEGIN{undef $/;} s/<i[^>]*?>(.*?)<\/i>/_$1_/smg' \ +perl -pe 'BEGIN{undef $/;} s/<i[^>]*?>(.*?)<\/i>/ _$1_ /smg' \ -i ./output/zeitung.md -perl -pe 'BEGIN{undef $/;} s/<em[^>]*?>(.*?)<\/em>/_$1_/smg' \ +perl -pe 'BEGIN{undef $/;} s/<em[^>]*?>(.*?)<\/em>/ _$1_ /smg' \ -i ./output/zeitung.md ## remove any content that is within specific html tags