From 92758279fabe32543b25d89503b836ffd2ca5ca1 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 31 Dec 2002 10:58:47 +0000 Subject: - Bugfix: wrapped an RSS item's description in a check_output() to ensure proper markup. --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 6a979f9de..4255b0e31 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -504,7 +504,7 @@ function format_rss_item($title, $link, $description, $args = array()) { $output .= "\n"; $output .= " ". htmlentities(strip_tags($title)) ."\n"; $output .= " ". htmlentities(strip_tags($link)) ."\n"; - $output .= " ". htmlentities($description) ."\n"; + $output .= " ". htmlentities(check_output($description)) ."\n"; foreach ($args as $key => $value) { $output .= "<$key>". htmlentities(strip_tags($value)) .""; } -- cgit v1.2.3