# 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/block_rss_client.php
--- moodle/blocks/rss_client/block_rss_client.php Base (1.108)
+++ moodle/blocks/rss_client/block_rss_client.php Locally Modified (Based On 1.108)
@@ -238,6 +238,10 @@
 
         if(empty($link)){
             $link = $item->get_id();
+        } else {
+            //URLs in our RSS cache will be escaped (correctly as theyre store in XML)
+            //html_writer::link() will re-escape them. To prevent double escaping unescape here.
+            $link = htmlspecialchars_decode($link);
         }
 
         $r = html_writer::start_tag('li');
