mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-12-22 10:52:19 +00:00
Revert "remove torchlight markup from rss"
This reverts commit 871be97942
.
This commit is contained in:
parent
871be97942
commit
74f636cec2
1 changed files with 0 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue