1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

RSS strip html comments from rss feed.

This commit is contained in:
Cameron
2015-09-05 20:00:34 -07:00
parent 43948fa119
commit 72c93e93a2

View File

@@ -1971,8 +1971,8 @@ class e_parse extends e_parser
$text = $this->toEmail($text); $text = $this->toEmail($text);
$search = array("&amp;#039;", "&amp;#036;", "&#039;", "&#036;", e_BASE, "href='request.php"); $search = array("&amp;#039;", "&amp;#036;", "&#039;", "&#036;", e_BASE, "href='request.php","<!-- bbcode-html-start -->","<!-- bbcode-html-end -->");
$replace = array("'", '$', "'", '$', SITEURL, "href='".SITEURL."request.php" ); $replace = array("'", '$', "'", '$', SITEURL, "href='".SITEURL."request.php", '', '' );
$text = str_replace($search, $replace, $text); $text = str_replace($search, $replace, $text);
// Fix any left-over '&' // Fix any left-over '&'