diff --git a/src/functions.php b/src/functions.php index 626833b5..93c18edf 100644 --- a/src/functions.php +++ b/src/functions.php @@ -33,7 +33,7 @@ function html(string $tagName, array $attributes, string $content = null): strin } if ($tagName === 'img') { - return "${html} />"; + return "$html />"; } return "{$html}>{$content}";