- Bugfix: strip all HTML from the feed description.
parent
dc8a68ea28
commit
bab922715d
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue