mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-09 17:42:19 +00:00
rss: fix image embeds
This commit is contained in:
parent
de75790647
commit
c8f4a80c27
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
|||
<category>{{ .LinkTitle }}</category>{{ end }}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>{{ "<![CDATA[" | safeHTML }} {{ .Summary }}]]></description>
|
||||
<content:encoded>{{ "<![CDATA[" | safeHTML }} {{ .Content }}]]></content:encoded>
|
||||
<content:encoded>{{ "<![CDATA[" | safeHTML }} {{ replaceRE "img src=\"(.*?)\"" (printf "%s%s%s" "img src=\"" .Permalink "$1\"") .Content }}]]></content:encoded>
|
||||
</item>
|
||||
{{ end }}
|
||||
</channel>
|
||||
|
|
Loading…
Reference in a new issue