Skip to content

A free, self-hostable news aggregator…

Author HTML to text

Alexandre Alapetite18285d27297d
diff --git a/app/Models/Feed.php b/app/Models/Feed.php
index 52d49db6e..4f11d32e9 100644
--- a/app/Models/Feed.php
+++ b/app/Models/Feed.php
@@ -339,7 +339,7 @@ class FreshRSS_Feed extends Minz_Model {
$this->id(),
$item->get_id(false, false),
$title === null ? '' : $title,
- $author === null ? '' : html_only_entity_decode($author->name),
+ $author === null ? '' : html_only_entity_decode(strip_tags($author->name)),
$content === null ? '' : $content,
$link === null ? '' : $link,
$date ? $date : time()