diff options
| author | 2013-09-14 20:15:58 +0200 | |
|---|---|---|
| committer | 2013-09-14 20:15:58 +0200 | |
| commit | 06236ba4463848b1f75fae58ee2ae4d995e273c9 (patch) | |
| tree | 312885d8d31c3b5ca0649a4f8a65f45c50edeedd | |
| parent | 04b382171308e59e728eeb30fc06b2618b8c35ca (diff) | |
| parent | ca45605acff728fcfa12d80e8562f05ae6bdb9f7 (diff) | |
Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev
| -rw-r--r-- | lib/SimplePie/SimplePie/Sanitize.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/SimplePie/SimplePie/Sanitize.php b/lib/SimplePie/SimplePie/Sanitize.php index 6810cc49f..83a274ced 100644 --- a/lib/SimplePie/SimplePie/Sanitize.php +++ b/lib/SimplePie/SimplePie/Sanitize.php @@ -379,6 +379,7 @@ class SimplePie_Sanitize protected function preprocess($html, $type) { $ret = ''; + $html = preg_replace('%</?(?:html|body)[^>]*?'.'>%is', '', $html); if ($type & ~SIMPLEPIE_CONSTRUCT_XHTML) { // Atom XHTML constructs are wrapped with a div by default |
