Skip to content

Commit 214d679

Browse files
committed
Add leading space to handle non arguments tags
1 parent c5794df commit 214d679

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/TwigHooks/src/Hookable/Renderer/Debug/HookableDebugCommentRenderer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ private function getClosingDebugComment(AbstractHookable $hookable): string
7070

7171
private function wrapWithDebugAttributes(string $content, AbstractHookable $hookable): string
7272
{
73-
dump($hookable);
74-
$debugAttributes = sprintf('data-hook="%s" data-hookable="%s" data-hookable-config="%s"',
73+
$debugAttributes = sprintf(' data-hook="%s" data-hookable="%s" data-hookable-config="%s"',
7574
htmlspecialchars($hookable->hookName, ENT_QUOTES),
7675
htmlspecialchars($hookable->name, ENT_QUOTES),
7776
$hookable->priority()

0 commit comments

Comments
 (0)