mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
escape translated vars in _e()
This commit is contained in:
parent
21037bb4d0
commit
65d28c72a4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue