Skip to content

Commit 033acab

Browse files
committed
Change attributes with if condition
1 parent 862886d commit 033acab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,10 @@ public function convert(): string
196196
throw new Exception('Generating html during conversion process failed.');
197197
}
198198

199-
$html = $this->replaceAttributeWithIfConditionPlaceholders($html);
200199
$html = $this->addVariableBlocks($html);
201200
$html = $this->replacePlaceholders($html);
202201
$html = $this->replaceScopedPlaceholders($html);
202+
$html = $this->replaceAttributeWithIfConditionPlaceholders($html);
203203

204204
$html = preg_replace('/<template>\s*(.*)\s*<\/template>/ism', '$1', $html);
205205
$html = preg_replace('/<\/?template[^>]*?>/i', '', $html);

0 commit comments

Comments
 (0)