# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/blocks/rss_client/managefeeds.php
--- moodle/blocks/rss_client/managefeeds.php Base (1.8)
+++ moodle/blocks/rss_client/managefeeds.php Locally Modified (Based On 1.8)
@@ -104,9 +104,9 @@
 
 foreach($feeds as $feed) {
     if (!empty($feed->preferredtitle)) {
-        $feedtitle = $feed->preferredtitle;
+        $feedtitle = htmlspecialchars($feed->preferredtitle);
     } else {
-        $feedtitle =  $feed->title;
+        $feedtitle =  htmlspecialchars($feed->title);
     }
 
     $viewlink = new html_link();
