fix empty template

This commit is contained in:
Yuri Kuznetsov
2024-05-10 12:51:53 +03:00
parent 6b1f8de16a
commit 0bcbfdd223

View File

@@ -842,6 +842,10 @@ class Htmlizer
private function handleIteration(string $template): string
{
if ($template === '') {
return $template;
}
if (!extension_loaded('dom')) {
$this->log?->warning("Extension 'dom' is not enabled. HTML templating functionality is restricted.");