diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-12-31 10:58:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-12-31 10:58:47 +0000 |
commit | 92758279fabe32543b25d89503b836ffd2ca5ca1 (patch) | |
tree | cad7907cfe91f3fe08c7d8c9faa3a5227ef7fa42 /includes/common.inc | |
parent | 3c7d0f95759bd09842c40c3ac31574623fec02ff (diff) | |
download | brdo-92758279fabe32543b25d89503b836ffd2ca5ca1.tar.gz brdo-92758279fabe32543b25d89503b836ffd2ca5ca1.tar.bz2 |
- Bugfix: wrapped an RSS item's description in a check_output() to ensure
proper markup.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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 .= "<item>\n"; $output .= " <title>". htmlentities(strip_tags($title)) ."</title>\n"; $output .= " <link>". htmlentities(strip_tags($link)) ."</link>\n"; - $output .= " <description>". htmlentities($description) ."</description>\n"; + $output .= " <description>". htmlentities(check_output($description)) ."</description>\n"; foreach ($args as $key => $value) { $output .= "<$key>". htmlentities(strip_tags($value)) ."</$key>"; } |