From 92b0ffe05cd426b85fe2575b8d9a1d39b1410b3c Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 23 Mar 2022 11:29:33 +0100 Subject: Fix handling of authors with ampersand & (#4287) Especially needed for HTML+XPath Web scraping as it makes the rest of the pipeline fail to handle special characters. --- lib/lib_rss.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/lib_rss.php') diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 6929b316c..ba7b5b5d8 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -196,6 +196,7 @@ function timestamptodate ($t, $hour = true) { } /** + * Decode HTML entities but preserve XML entities. * @param string|null $text */ function html_only_entity_decode($text): string { -- cgit v1.2.3