1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01: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);
$search = array("'", "$", "'", "$", e_BASE, "href='request.php");
$replace = array("'", '$', "'", '$', SITEURL, "href='".SITEURL."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", '', '' );
$text = str_replace($search, $replace, $text);
// Fix any left-over '&'