Parcourir la source

Author HTML to text

https://github.com/FreshRSS/FreshRSS/issues/1590#issuecomment-313914174
https://github.com/FreshRSS/FreshRSS/pull/1592#issuecomment-320290049
Alexandre Alapetite il y a 8 ans
Parent
commit
18285d2729
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/Models/Feed.php

+ 1 - 1
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()