mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Test for toRss()
This commit is contained in:
@@ -2428,6 +2428,9 @@ class e_parse extends e_parser
|
||||
|
||||
$text = $this->ampEncode($text);
|
||||
|
||||
// if CDATA happens to be quoted in the text.
|
||||
$text = str_replace(['<![CDATA', ']]>'], ['<![CDATA', ']]>'], $text);
|
||||
|
||||
if($tags == true && ($text))
|
||||
{
|
||||
$text = '<![CDATA[' .$text. ']]>';
|
||||
|
Reference in New Issue
Block a user