make sure gettext returns the strings html encoded

This commit is contained in:
HB9HIL
2024-08-15 09:01:58 +02:00
parent addafc9b2d
commit 94caa12557

View File

@@ -211,7 +211,7 @@ function _encode($text)
if ($source_encoding != $target_encoding) $text = mb_convert_encoding($text, $target_encoding, $source_encoding);
}
return $text;
return htmlentities($text);
}
// Custom implementation of the standard gettext related functions