update patch 1

This commit is contained in:
fiqhpratama
2024-12-02 01:18:34 +07:00
parent 453d9bb470
commit 25026b0a85
3380 changed files with 103529 additions and 363623 deletions
+3 -3
View File
@@ -41,14 +41,14 @@ class Esi extends AbstractSurrogate
public function renderIncludeTag(string $uri, ?string $alt = null, bool $ignoreErrors = true, string $comment = ''): string
{
$html = sprintf('<esi:include src="%s"%s%s />',
$html = \sprintf('<esi:include src="%s"%s%s />',
$uri,
$ignoreErrors ? ' onerror="continue"' : '',
$alt ? sprintf(' alt="%s"', $alt) : ''
$alt ? \sprintf(' alt="%s"', $alt) : ''
);
if ($comment) {
return sprintf("<esi:comment text=\"%s\" />\n%s", $comment, $html);
return \sprintf("<esi:comment text=\"%s\" />\n%s", $comment, $html);
}
return $html;