### Eclipse Workspace Patch 1.0
#P drupal6
Index: modules/aggregator/aggregator.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/aggregator/aggregator.module,v
retrieving revision 1.335
diff -u -r1.335 aggregator.module
--- modules/aggregator/aggregator.module	7 Apr 2007 07:38:36 -0000	1.335
+++ modules/aggregator/aggregator.module	10 Apr 2007 21:10:59 -0000
@@ -1354,7 +1354,7 @@
   }
 
   // Display the external link to the item.
-  $output .= '<a href="'. check_url($item->link) .'">'. check_plain($item->title) ."</a>\n";
+  $output .= '<a href="'. check_url($item->link) .'">'. aggregator_filter_xss($item->title) ."</a>\n";
 
   return $output;
 }
@@ -1369,7 +1369,7 @@
  * @ingroup themeable
  */
 function theme_aggregator_summary_item($item) {
-  $output = '<a href="'. check_url($item->link) .'">'. check_plain($item->title) .'</a> <span class="age">'. t('%age old', array('%age' => format_interval(time() - $item->timestamp))) .'</span>';
+  $output = '<a href="'. check_url($item->link) .'">'. aggregator_filter_xss($item->title) .'</a> <span class="age">'. t('%age old', array('%age' => format_interval(time() - $item->timestamp))) .'</span>';
   if ($item->feed_link) {
     $output .= ', <span class="source"><a href="'. check_url($item->feed_link) .'">'. check_plain($item->feed_title) .'</a></span>';
   }
@@ -1396,7 +1396,7 @@
   }
 
   $output .= "<div class=\"feed-item\">\n";
-  $output .= '<h3 class="feed-item-title"><a href="'. check_url($item->link) .'">'. check_plain($item->title) ."</a></h3>\n";
+  $output .= '<h3 class="feed-item-title"><a href="'. check_url($item->link) .'">'. aggregator_filter_xss($item->title) ."</a></h3>\n";
   $output .= "<div class=\"feed-item-meta\">$source <span class=\"feed-item-date\">$source_date</span></div>\n";
 
   if ($item->description) {
