diff --git a/classes/feeds.php b/classes/feeds.php
index 4cace8d5..def24521 100644
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -63,7 +63,8 @@ class Feeds extends Handler_Protected {
truncate_string($feed_title,30)."";
if ($error) {
- $reply .= " ";
+ $error = htmlspecialchars($error);
+ $reply .= " ";
}
} else {