diff --git a/Views/View.php b/Views/View.php index f03449053..c177e4308 100644 --- a/Views/View.php +++ b/Views/View.php @@ -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 *