commit 5a5304d74ebccb0b4697e7bd1231a7ce7aa2a3c5 parent 969d8be907d2c5bf239a1404871aa0a54f94e8dd Author: Jan Dankert <develop@jandankert.de> Date: Tue, 9 Nov 2021 23:53:41 +0100 Very crazy bug in Alpine (like the iconv bug yesterday): htmlentities() must be called with the default flags. Diffstat:
M | modules/template_engine/Output.class.php | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/template_engine/Output.class.php b/modules/template_engine/Output.class.php @@ -25,7 +25,7 @@ class Output public static function escapeHtml($text) { - return Text::translateutf8tohtml(htmlentities($text)); + return Text::translateutf8tohtml(htmlentities($text, ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 )); } /**