From 6c4ba6a0e69efd7a1f57a539792485379e8442b6 Mon Sep 17 00:00:00 2001 From: Mike Little Date: Fri, 6 Jun 2003 23:59:25 +0000 Subject: [PATCH] Added extra html escaping to title. git-svn-id: https://develop.svn.wordpress.org/trunk@180 602fd350-edb4-49c9-b593-d223f7449a82 --- b2calendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2calendar.php b/b2calendar.php index 967b5346d2..f5d6fb3dee 100644 --- a/b2calendar.php +++ b/b2calendar.php @@ -243,7 +243,7 @@ for($i = $calendarfirst; $i<($calendarlast+86400); $i = $i + 86400) { $ak_day_titles = ""; foreach($ak_day_title_array as $post) { if (substr($post->post_date, 8, 2) == date('d',$i)) { - $ak_day_titles = $ak_day_titles.stripslashes($post->post_title).$ak_title_separator; + $ak_day_titles = $ak_day_titles.htmlspecialchars(stripslashes($post->post_title)).$ak_title_separator; } } $ak_day_titles = substr($ak_day_titles, 0, strlen($ak_day_titles) - $ak_trim);