File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6363 <id>{{ post.id | absolute_url | xml_escape }}</id>
6464 {% assign excerpt_only = post.feed.excerpt_only | default: site.feed.excerpt_only %}
6565 {% unless excerpt_only %}
66- <content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}">{{ post.content | strip | xml_escape }} </content>
66+ <content type="html" xml:base="{{ post.url | absolute_url | xml_escape }}"><![CDATA[ {{ post.content | strip }}]]> </content>
6767 {% endunless %}
6868
6969 {% assign post_author = post.author | default: post.authors[0] | default: site.author %}
9696
9797 {% assign post_summary = post.description | default: post.excerpt %}
9898 {% if post_summary and post_summary != empty %}
99- <summary type="html">{{ post_summary | strip_html | normalize_whitespace | xml_escape }} </summary>
99+ <summary type="html"><![CDATA[ {{ post_summary | strip_html | normalize_whitespace }}]]> </summary>
100100 {% endif %}
101101
102102 {% assign post_image = post.image.path | default: post.image %}
Original file line number Diff line number Diff line change 7676 end
7777
7878 it "converts markdown posts to HTML" do
79- expect(contents).to match %r!<p> March the second\!</p> !
79+ expect(contents).to match %r!<\!\[CDATA\[<p> March the second\!</p>\]\] !
8080 end
8181
8282 it "uses last_modified_at where available" do
You can’t perform that action at this time.
0 commit comments