summaryrefslogtreecommitdiffstats
path: root/app/lib/lib.opml.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/lib.opml.php')
-rw-r--r--app/lib/lib.opml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/lib.opml.php b/app/lib/lib.opml.php
index 8676807..ecb71a8 100644
--- a/app/lib/lib.opml.php
+++ b/app/lib/lib.opml.php
@@ -95,8 +95,8 @@ class OpmlManager
$out.= '<dateModified>'.date('c').'</dateModified>'."\n";
$out.= '</head>'."\n";
$out.= '<body>'."\n";
- foreach ($opml->entries as $person){
- $out.= '<outline text="' . htmlspecialchars($person['name']) . '" htmlUrl="' . htmlspecialchars($person['website']) . '" xmlUrl="' . htmlspecialchars($person['feed']) . '" isDown="' . htmlspecialchars($person['isDown']) . '"/>'."\n";
+ foreach ($opml->entries as $person) {
+ $out.= '<outline text="' . htmlspecialchars($person['name'], ENT_QUOTES) . '" htmlUrl="' . htmlspecialchars($person['website'], ENT_QUOTES) . '" xmlUrl="' . htmlspecialchars($person['feed'], ENT_QUOTES) . '" isDown="' . htmlspecialchars($person['isDown'], ENT_QUOTES) . '"/>'."\n";
}
$out.= '</body>'."\n";
$out.= '</opml>';