From ddb61e79af781440d49096a47636fe610a6a1bb9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 17 Nov 2008 06:49:06 +0100 Subject: [PATCH] feed edit dialog: make unsubscribe button work for feeds with quotes in title --- modules/pref-feeds.php | 2 ++ modules/pref-filters.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 "