aboutsummaryrefslogtreecommitdiffstats
path: root/template/standard/html/feed/item_page.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-04-24 01:37:55 +0200
committerThomas Lange <code@nerdmind.de>2017-04-24 01:37:55 +0200
commit076c34c4f25c5695059d37e1bb6a262f6b7eedb6 (patch)
tree337c021850e6a6065d338305e127950560f74d23 /template/standard/html/feed/item_page.php
parent1ab7ed73b0ea9d1f8597cf9b87bf272a7e6b99e6 (diff)
downloadblog-076c34c4f25c5695059d37e1bb6a262f6b7eedb6.tar.gz
blog-076c34c4f25c5695059d37e1bb6a262f6b7eedb6.tar.xz
blog-076c34c4f25c5695059d37e1bb6a262f6b7eedb6.zip
Nested function calls for generating the meta description are removed and a function was added to perform this task.
Diffstat (limited to 'template/standard/html/feed/item_page.php')
-rw-r--r--template/standard/html/feed/item_page.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/standard/html/feed/item_page.php b/template/standard/html/feed/item_page.php
index 9defc25..ac3d197 100644
--- a/template/standard/html/feed/item_page.php
+++ b/template/standard/html/feed/item_page.php
@@ -13,7 +13,7 @@
<guid isPermaLink="false"><?=$PAGE['GUID']?></guid>
<pubDate><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], '[RFC2822]')?></pubDate>
<dc:creator><?=escapeHTML($USER['ATTR']['FULLNAME'])?></dc:creator>
- <description><?=escapeHTML(cut(removeLineBreaksAndTabs(removeHTML($PAGE['BODY']['HTML'])), 400))?></description>
+ <description><?=description($PAGE['BODY']['HTML'], 400)?></description>
<content:encoded>
<![CDATA[
<?=$PAGE['BODY']['HTML']?>