Skip to content

Commit d2af9cc

Browse files
committed
change type to html
1 parent 6f0eb8d commit d2af9cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

feed.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ layout: null
1717
{%- assign posts = site.posts | where_exp: "post", "post.draft != true" -%}
1818
{%- for post in posts limit: 10 -%}
1919
<entry xml:lang="en">
20-
<title type="text">{{ post.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title>
20+
<title type="html">{{ post.title | smartify | strip_html | normalize_whitespace | xml_escape }}</title>
2121
<link href="{{ post.url | absolute_url }}" rel="alternate" type="text/html" title="{{ post.title | xml_escape }}" />
2222
<published>{{ post.date | date_to_xmlschema }}</published>
2323
<updated>{{ post.last_modified_at | default: post.date | date_to_xmlschema }}</updated>
2424
<id>{{ post.id | absolute_url | xml_escape }}</id>
25-
<content type="text" xml:base="{{ post.url | absolute_url | xml_escape }}">{{ post.content | strip_html | strip | xml_escape }}</content>
25+
<content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}">{{ post.content | strip_html | strip | xml_escape }}</content>
2626

2727
{%- assign post_author = post.author | default: site.author -%}
2828
<author>
@@ -33,7 +33,7 @@ layout: null
3333
</author>
3434

3535
{%- if post.summary or post.excerpt -%}
36-
<summary type="text">{{ post.summary | default: post.excerpt | strip_html | normalize_whitespace | xml_escape }}</summary>
36+
<summary type="html">{{ post.summary | default: post.excerpt | strip_html | normalize_whitespace | xml_escape }}</summary>
3737
{%- endif -%}
3838

3939
{%- assign post_image = post.image -%}

0 commit comments

Comments
 (0)