Revert "remove torchlight markup from rss"

This reverts commit 871be97942.
This commit is contained in:
John Bowdre 2024-04-29 21:01:05 -05:00
parent 871be97942
commit 74f636cec2

View file

@ -45,8 +45,6 @@
{{- $content := replaceRE "a href=\"(#.*?)\"" (printf "%s%s%s" "a href=\"" .Permalink "$1\"") .Content -}}
{{- $content = replaceRE "img src=\"(.*?)\"" (printf "%s%s%s" "img src=\"" .Permalink "$1\"") $content -}}
{{- $content = replaceRE "<svg.*</svg>" "" $content -}}
{{- $content = replaceRE `(?:(?:<!--)|(?:#)|(?:\/\/))*\s*torchlight!.*\n` "" $content -}}
{{- $content = replaceRE `(?:(?:<!--)|(?:#)|(?:\/\/))*\s*\[tl!.*\].*\n` "" $content -}}
{{- $content = replaceRE `-moz-tab-size:\d;-o-tab-size:\d;tab-size:\d;?` "" $content -}}
<description>{{ $content | html }}</description>
</item>