Explorar el Código

Avoid Unicode escape of authors in HTML UI (#7056)

fix https://github.com/FreshRSS/FreshRSS/issues/2770
Alexandre Alapetite hace 1 año
padre
commit
b5bf5760bf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Models/Feed.php

+ 1 - 1
app/Models/Feed.php

@@ -640,7 +640,7 @@ class FreshRSS_Feed extends Minz_Model {
 				foreach ($authors as $author) {
 					$authorName = $author->name != '' ? $author->name : $author->email;
 					if (is_string($authorName) && $authorName !== '') {
-						$authorNames .= escapeToUnicodeAlternative(strip_tags($authorName), true) . '; ';
+						$authorNames .= html_only_entity_decode(strip_tags($authorName)) . '; ';
 					}
 				}
 			}