aboutsummaryrefslogtreecommitdiffstats
path: root/include/feedutils.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-02-19 16:19:14 -0800
committerzotlabs <mike@macgirvin.com>2018-02-19 16:19:14 -0800
commit76b5c686460ed5fe4c93dc0e268d99dc9eb988b6 (patch)
treec8eb101027b5157014b50080a1d5c32101c67e42 /include/feedutils.php
parentb6b4827680d14bcb0062bba4a272f661bbb33d8c (diff)
parent66309a3fea4b087ffef53ea93d5573278515dcf0 (diff)
downloadvolse-hubzilla-76b5c686460ed5fe4c93dc0e268d99dc9eb988b6.tar.gz
volse-hubzilla-76b5c686460ed5fe4c93dc0e268d99dc9eb988b6.tar.bz2
volse-hubzilla-76b5c686460ed5fe4c93dc0e268d99dc9eb988b6.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'include/feedutils.php')
-rw-r--r--include/feedutils.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index c4e9790de..369193fce 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -436,6 +436,9 @@ function get_atom_elements($feed, $item) {
$summary = unxmlify($item->get_description(true));
+ if($summary === $res['body'])
+ $summary = '';
+
if(($summary) && ((strpos($summary,'<') !== false) || (strpos($summary,'>') !== false))) {
$summary = purify_html($summary);
$summary = html2bbcode($summary);