fix: [core] atom feed template (#6628) (#6726)

conforming to RFC 4278 4.1.3.3. Processing Model
This commit is contained in:
Queensferry
2021-01-25 20:21:32 -05:00
committed by GitHub
parent 6b9520197a
commit 8ebbd0d708
+2 -2
View File
@@ -53,9 +53,9 @@
{{ /if }}
{{ if $e.content }}
<content type="html" src="{{ $e.link }}"><![CDATA[{{@ $e.content.html || $e.content.text }}]]></content>
<content type="html" src="{{ $e.link }}">{{ $e.content.html || $e.content.text }}</content>
{{ else if $e.description }}
<content type="html" src="{{ $e.link }}"><![CDATA[{{@ $e.description }}]]></content>
<content type="html" src="{{ $e.link }}">{{ $e.description }}</content>
{{ /if }}
{{ if typeof $e.category === 'string' }}