diff --git a/library/vendor/ipl/Html/Html.php b/library/vendor/ipl/Html/Html.php index 09ea6ae6..d3eff3de 100644 --- a/library/vendor/ipl/Html/Html.php +++ b/library/vendor/ipl/Html/Html.php @@ -248,6 +248,14 @@ class Html implements ValidHtml return $this->renderError($e); } } + + public static function sprintf($string) + { + $args = func_get_args(); + array_shift($args); + return new FormattedString($string, $args); + } + private function reIndexContent() { $this->contentIndex = [];