Skip to content

Commit

Permalink
add CDATA to search.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Simpleyyt committed Jun 23, 2018
1 parent dcc3ba7 commit 634f102
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ sitemap: false
<search>
{% for post in site.posts %}
<entry>
<title>{{ post.title | strip_html | xml_escape }}</title>
<title><![CDATA[{{ post.title | strip_html }}]]></title>
<url>{{ post.url | relative_url }}</url>
<content type="text">{{ post.content | strip_html | xml_escape }}</content>
<content type="text"><![CDATA[{{ post.content | strip_html | strip_newlines }}]]></content>
<categories>
{% for category in post.categories %}
<category> {{ category | strip_html | xml_escape }} </category>
Expand Down

0 comments on commit 634f102

Please sign in to comment.