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:
parent
43948fa119
commit
72c93e93a2
@ -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("&#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 '&'
|
||||
|
Loading…
x
Reference in New Issue
Block a user