summaryrefslogtreecommitdiffstats
path: root/template/standard/html/feed/item_post.php
diff options
context:
space:
mode:
Diffstat (limited to 'template/standard/html/feed/item_post.php')
-rw-r--r--template/standard/html/feed/item_post.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/template/standard/html/feed/item_post.php b/template/standard/html/feed/item_post.php
index 7f477d6..30e97ab 100644
--- a/template/standard/html/feed/item_post.php
+++ b/template/standard/html/feed/item_post.php
@@ -6,6 +6,8 @@
# [see documentation] #
# #
#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+
+$HTML = $POST['BODY']['HTML']();
?>
<item>
<title><?=escapeHTML($POST['ATTR']['NAME'])?></title>
@@ -13,10 +15,10 @@
<guid isPermaLink="false"><?=$POST['GUID']?></guid>
<pubDate><?=parseDatetime($POST['ATTR']['TIME_INSERT'], '[RFC2822]')?></pubDate>
<dc:creator><?=escapeHTML($USER['ATTR']['FULLNAME'])?></dc:creator>
- <description><?=escapeHTML(description($POST['BODY']['HTML'](), 400))?></description>
+ <description><?=escapeHTML(description($HTML, 400))?></description>
<content:encoded>
<![CDATA[
- <?=$POST['BODY']['HTML']()?>
+ <?=$HTML?>
]]>
</content:encoded>
<?php foreach($POST['FILE']['LIST'] as $fileURL): ?>