소스 검색

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}