From 59e2aab4687694d6e64d56e8751a1d1eff3fd609 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 31 Jul 2006 14:20:04 +0100 Subject: [PATCH] escape feed title in generated feed --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 5fd65c1d6..a58613ccb 100644 --- a/functions.php +++ b/functions.php @@ -2224,7 +2224,7 @@ 30, false, $is_cat, $search, $search_mode, $match_on); $result = $qfh_ret[0]; - $feed_title = $qfh_ret[1]; + $feed_title = htmlspecialchars($qfh_ret[1]); $feed_site_url = $qfh_ret[2]; $last_error = $qfh_ret[3];