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