|
@@ -446,6 +446,7 @@ class Rss extends BaseModule
|
|
|
// $text = ShowGalleryWidgetm( $text );
|
|
|
$text = strip_tags( $text,'<p></p><br></br><span></span><div></div><img><a></a><i></i><b></b><sup></sup><ul></ul><li></li><table></table><td></td><tr></tr><h2></h2><h3></h3><blockquote></blockquote>' );
|
|
|
$text = str_replace('<p></p>',' ',$text);
|
|
|
+ $text = preg_replace('#\s(id)="[^"]+"#', '', $text);
|
|
|
return $text;
|
|
|
}
|
|
|
|
|
@@ -481,6 +482,7 @@ class Rss extends BaseModule
|
|
|
$text = preg_replace($re, '', $text );
|
|
|
$text = strip_tags( $text,'<p></p><br></br><span></span><div></div><img><a></a><i></i><b></b><sup></sup><ul></ul><li></li><table></table><td></td><tr></tr><h2></h2><h3></h3><blockquote></blockquote><iframe></iframe>' );
|
|
|
$text = str_replace('<p></p>',' ',$text);
|
|
|
+ $text = preg_replace('#\s(id)="[^"]+"#', '', $text);
|
|
|
return $text;
|
|
|
}
|
|
|
|