diff options
| author | 2013-12-19 22:21:44 +0100 | |
|---|---|---|
| committer | 2013-12-19 22:21:44 +0100 | |
| commit | f3a50c3ce81e547e1e2c723db30c57ec160730ae (patch) | |
| tree | d1dcc1cfc59d8b31177e0545fc1e57eaec1f4748 /lib/lib_rss.php | |
| parent | daefb8f095f1abe591347e99fcb09ab53701d39d (diff) | |
Import feed->description en HTML
Ne pas protéger feed->description à l'import OPML, car c'est
potentiellement du HTML. Il faudrait faire du sanitize néanmoins.
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 8b64eb7b9..c7b8b4beb 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -236,7 +236,7 @@ function getFeed ($outline, $cat_id) { $feed->_website(htmlspecialchars((string)$outline['htmlUrl'], ENT_QUOTES, 'UTF-8')); } if (isset($outline['description'])) { - $feed->_description(htmlspecialchars((string)$outline['description'], ENT_QUOTES, 'UTF-8')); + $feed->_description((string)$outline['description']); } return $feed; } |
