diff --git a/themes/v2/layouts/partials/gemtext.gmi b/themes/v2/layouts/partials/gemtext.gmi index fe1d377..480cc60 100644 --- a/themes/v2/layouts/partials/gemtext.gmi +++ b/themes/v2/layouts/partials/gemtext.gmi @@ -55,6 +55,7 @@ {{- $content = $content | replaceRE `=> /(elsewhere[^ ])` (printf "=> %s$1" site.BaseURL) -}} {{- $content = $content | replaceRE `(?m)^(\* [^\n]+)\n\n ` "$1 " -}} {{- $content = $content | replaceRE `(?m)\n{3,}` "\n\n" }} +{{- $content = $content | replaceRE `]*>([^<]+)` "$1" -}} {{- $content = $content | replaceRE `\n+$` "" }} {{- $content | safeHTML -}}