Skip to content

Commit c4074a5

Browse files
committed
Update cleanupAttributes
1 parent dd09c76 commit c4074a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Compiler.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,9 @@ private function cleanupAttributes(DOMElement $node) {
413413
if ($node->hasAttribute('ref')) {
414414
$node->removeAttribute('ref');
415415
}
416+
if ($node->hasAttribute(':ref')) {
417+
$node->removeAttribute(':ref');
418+
}
416419
}
417420

418421
private function handleIf(DOMElement $node): void

0 commit comments

Comments
 (0)