aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-12-02 18:37:41 +0100
committerArthurHoaro <arthur@hoa.ro>2016-12-02 18:37:41 +0100
commit1d2cef8aefe62f93a71d43d9288a49d4b350484e (patch)
treef57669f959810b7a92a80dfb3bbe71a8990e6eef
parent6781465fda8ad5dc3a37439446d4ff1100f1fd39 (diff)
downloadShaarli-1d2cef8aefe62f93a71d43d9288a49d4b350484e.tar.gz
Shaarli-1d2cef8aefe62f93a71d43d9288a49d4b350484e.tar.zst
Shaarli-1d2cef8aefe62f93a71d43d9288a49d4b350484e.zip
Remove new line between content tag and CDATA in ATOM feed
Content not starting directly with CDATA can be misinterpreted by some feed parsers.
-rw-r--r--tpl/feed.atom.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/tpl/feed.atom.html b/tpl/feed.atom.html
index 40fd421a..aead0459 100644
--- a/tpl/feed.atom.html
+++ b/tpl/feed.atom.html
@@ -30,9 +30,7 @@
30 <published>{$value.pub_iso_date}</published> 30 <published>{$value.pub_iso_date}</published>
31 <updated>{$value.up_iso_date}</updated> 31 <updated>{$value.up_iso_date}</updated>
32 {/if} 32 {/if}
33 <content type="html" xml:lang="{$language}"> 33 <content type="html" xml:lang="{$language}"><![CDATA[{$value.description}]]></content>
34 <![CDATA[{$value.description}]]>
35 </content>
36 {loop="$value.taglist"} 34 {loop="$value.taglist"}
37 <category scheme="{$index_url}?searchtags=" term="{$value|strtolower}" label="{$value}" /> 35 <category scheme="{$index_url}?searchtags=" term="{$value|strtolower}" label="{$value}" />
38 {/loop} 36 {/loop}