From: Andrew Dolgov Date: Mon, 17 Nov 2008 05:49:06 +0000 (+0100) Subject: feed edit dialog: make unsubscribe button work for feeds with quotes in title X-Git-Tag: 1.2.29~4 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ddb61e79af781440d49096a47636fe610a6a1bb9;p=tt-rss.git feed edit dialog: make unsubscribe button work for feeds with quotes in title --- diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 613e9bf4..1acc5811 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -377,6 +377,8 @@ print ""; + $title = htmlspecialchars($title, ENT_QUOTES); + print "
"; - $reg_exp = htmlspecialchars($reg_exp); // second escaping seems to be needed for javascript + $reg_exp = htmlspecialchars($reg_exp, ENT_QUOTES); // second escaping seems to be needed for javascript print "
"; print "