瀏覽代碼

Merge pull request #702 from ArthurHoaro/feed-cdata

Remove new line between content tag and CDATA in ATOM feed
Arthur 7 年之前
父節點
當前提交
bea80e43a3
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      tpl/feed.atom.html

+ 1 - 3
tpl/feed.atom.html

@@ -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}