mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-05 21:55:24 -04:00
SimplePie Strip comments (#3288)
#fix https://github.com/FreshRSS/FreshRSS/issues/3282 (workaround an nginx configuration bug) We do not need to keep HTML comments in RSS content.
This commit is contained in:
committed by
GitHub
parent
e93675e036
commit
f7d69ad1de
@@ -165,6 +165,7 @@ function customSimplePie($attributes = array()) {
|
||||
}
|
||||
$simplePie->set_curl_options($curl_options);
|
||||
|
||||
$simplePie->strip_comments(true);
|
||||
$simplePie->strip_htmltags(array(
|
||||
'base', 'blink', 'body', 'doctype', 'embed',
|
||||
'font', 'form', 'frame', 'frameset', 'html',
|
||||
|
||||
Reference in New Issue
Block a user