fix format
[ikiwiki.git] / templates / rssitem.tmpl
index 1144cd5e2b940ac2acd35b85c7ba50dde2b77f68..a61b92b6127505e3f61b068d046e3f706a956d9a 100644 (file)
@@ -21,6 +21,9 @@
        <TMPL_IF NAME="ENCLOSURE">
        <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" />
        <TMPL_ELSE>
-       <description><![CDATA[<TMPL_VAR CONTENT>]]></description>
+       <description><TMPL_VAR CONTENT ESCAPE=HTML></description>
+       </TMPL_IF>
+       <TMPL_IF NAME="COMMENTSURL">
+       <comments><TMPL_VAR NAME="COMMENTSURL"></comments>
        </TMPL_IF>
 </item>