escape translated vars in _e()

This commit is contained in:
maxpozdeev 2022-09-06 21:28:31 +03:00
parent 21037bb4d0
commit 65d28c72a4

View file

@ -235,7 +235,7 @@ function formatTime($format, $timestamp=0) : string
function _e($s)
{
echo Lang::instance()->get($s);
echo htmlspecialchars(Lang::instance()->get($s));
}
function __($s)