mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 02:14:13 +00:00
make sure gettext returns the strings html encoded
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user