Use CDATA for content in ATOM feed (#354)

This commit is contained in:
onli 2016-01-15 13:33:30 +01:00
parent 0003150796
commit 148e644590
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,7 @@
Version 2.1 ()
------------------------------------------------------------------------
* Use CDATA encoded body for ATOM feed
* Fix: Ajax upload to ML now also works for non-images
* Added new theme "Clean-Blog". Clean Blog is a fully responsive,

View File

@ -47,10 +47,8 @@
<id>{$entry.feed_guid}</id>
<title type="html">{$entry.feed_title}</title>
{if !empty($entry.body)}
<content type="xhtml" xml:base="{$serendipityBaseURL}">
<div xmlns="http://www.w3.org/1999/xhtml">
{$entry.feed_body} {$entry.feed_ext}
</div>
<content type="html">
<![CDATA[{$entry.feed_body} {$entry.feed_ext}]]>
</content>
{/if}
{$entry.per_entry_display_dat}