Add escaped language output

This commit is contained in:
Dennis Eichhorn 2017-07-24 20:42:12 +02:00
parent c05086c233
commit c4927f588f

View File

@ -196,6 +196,11 @@ class View extends ViewAbstract
return $this->app->l11nManager->getText($this->l11n->getLanguage(), $module, $theme, $translation);
}
protected function getHtml(string $translation, string $module = null, string $theme = null) : string
{
return htmlspecialchars($this->getText($translation, $module, $theme));
}
/**
* @return RequestAbstract
*