File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 63
63
<id >{{ post.id | absolute_url | xml_escape }}</id >
64
64
{% assign excerpt_only = post.feed.excerpt_only | default: site.feed.excerpt_only %}
65
65
{% 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 >
67
67
{% endunless %}
68
68
69
69
{% assign post_author = post.author | default: post.authors[0] | default: site.author %}
96
96
97
97
{% assign post_summary = post.description | default: post.excerpt %}
98
98
{% 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 >
100
100
{% endif %}
101
101
102
102
{% assign post_image = post.image.path | default: post.image %}
Original file line number Diff line number Diff line change 76
76
end
77
77
78
78
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> \] \] !
80
80
end
81
81
82
82
it "uses last_modified_at where available" do
You can’t perform that action at this time.
0 commit comments