diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-04-24 16:25:31 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-04-24 16:25:31 +0000 |
commit | bab922715d6ce6216fabfc0bec8cd19242838c4e (patch) | |
tree | 4a2bd3d7763ca59cc974f9968606eb9efe72d27b | |
parent | dc8a68ea28a7040691edb6caddf6e41a961be257 (diff) | |
download | brdo-bab922715d6ce6216fabfc0bec8cd19242838c4e.tar.gz brdo-bab922715d6ce6216fabfc0bec8cd19242838c4e.tar.bz2 |
- Bugfix: strip all HTML from the feed description.
-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 547f50bf5..9a78e3365 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -761,7 +761,7 @@ function format_rss_channel($title, $link, $description, $items, $language = "en $output = "<channel>\n"; $output .= " <title>". drupal_specialchars(strip_tags($title)) ."</title>\n"; $output .= " <link>". drupal_specialchars(strip_tags($link)) ."</link>\n"; - $output .= " <description>". drupal_specialchars($description) ."</description>\n"; + $output .= " <description>". drupal_specialchars(strip_tags($description)) ."</description>\n"; $output .= " <language>". drupal_specialchars(strip_tags($language)) ."</language>\n"; foreach ($args as $key => $value) { $output .= " <$key>". drupal_specialchars(strip_tags($value)) ."</$key>\n"; |