Avoid loading of external images

This commit is contained in:
Midgard 2024-11-23 18:44:34 +01:00
parent 60d4605ac1
commit e14c126b2b
Signed by: midgard
GPG key ID: 511C112F1331BBB4

1
gen.sh
View file

@ -31,6 +31,7 @@ emoji() {
markdown() { markdown() {
htmlescape | \ htmlescape | \
{ pandoc --from=markdown --to=html || printf "Markdown conversion failed\n" >&2; } | \ { pandoc --from=markdown --to=html || printf "Markdown conversion failed\n" >&2; } | \
sed 's/src="\(.*\)"/src=""/g' | \
emoji emoji
} }