summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r--modules/aggregator.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 04222cc42..a07c98a25 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -711,8 +711,8 @@ function import_page_fd() {
while ($feed = db_fetch_object($result)) {
$output .= "<channel>\n";
- $output .= " <title>". htmlentities($feed->title) ."</title>\n";
- $output .= " <link>". htmlentities($feed->url) ."</link>\n";
+ $output .= " <title>". htmlspecialchars($feed->title) ."</title>\n";
+ $output .= " <link>". htmlspecialchars($feed->url) ."</link>\n";
$output .= "</channel>\n\n";
}