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-26 09:21:32 +08:00 committed by GitHub
parent 6b9520197a
commit 8ebbd0d708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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' }}