Simplify htmlescape

This commit is contained in:
Dennis Eichhorn 2017-09-14 20:39:00 +02:00
parent 34c465766e
commit dd57cf1fbb

View File

@ -213,6 +213,20 @@ class View extends ViewAbstract
return htmlspecialchars($this->getText($translation, $module, $theme));
}
/**
* Print html output.
*
* @param string $text Text
*
* @return string
*
* @since 1.0.0
*/
protected function printHtml(string $text) : string
{
return htmlspecialchars($text);
}
/**
* @return RequestAbstract
*