summaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-08-25 22:24:08 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-08-25 22:24:08 +0200
commit81f93dc2e23f44c57a14d07e95e412090dc7428d (patch)
tree319f82804167b81cbca0b4081f125888afc4f229 /lib/lib_rss.php
parent6981a24b9c41c577d9c47e7e53c094fbecbb6b38 (diff)
Another explicit UTF-8
Explicit UTF-8 for a forgotten htmlentities()
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index a7a5244f8..60e6d3358 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -48,7 +48,7 @@ function opml_export ($cats) {
$txt .= '<outline text="' . $cat['name'] . '">' . "\n";
foreach ($cat['feeds'] as $feed) {
- $txt .= "\t" . '<outline text="' . cleanText ($feed->name ()) . '" type="rss" xmlUrl="' . htmlentities ($feed->url ()) . '" htmlUrl="' . htmlentities ($feed->website ()) . '" />' . "\n";
+ $txt .= "\t" . '<outline text="' . cleanText ($feed->name ()) . '" type="rss" xmlUrl="' . htmlentities ($feed->url (), ENT_COMPAT, 'UTF-8') . '" htmlUrl="' . htmlentities ($feed->website (), ENT_COMPAT, 'UTF-8') . '" />' . "\n";
}
$txt .= '</outline>' . "\n";