]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Remove new line between content tag and CDATA in ATOM feed 702/head
authorArthurHoaro <arthur@hoa.ro>
Fri, 2 Dec 2016 17:37:41 +0000 (18:37 +0100)
committerArthurHoaro <arthur@hoa.ro>
Fri, 2 Dec 2016 17:37:41 +0000 (18:37 +0100)
Content not starting directly with CDATA can be misinterpreted by some feed parsers.

tpl/feed.atom.html

index 40fd421a4244b93f25a4a2486cf30fbe012f3b91..aead04592af4daf988d3ef9643c0b85a3203cf74 100644 (file)
@@ -30,9 +30,7 @@
         <published>{$value.pub_iso_date}</published>
         <updated>{$value.up_iso_date}</updated>
       {/if}
-      <content type="html" xml:lang="{$language}">
-        <![CDATA[{$value.description}]]>
-      </content>
+      <content type="html" xml:lang="{$language}"><![CDATA[{$value.description}]]></content>
       {loop="$value.taglist"}
         <category scheme="{$index_url}?searchtags=" term="{$value|strtolower}" label="{$value}" />
       {/loop}