File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -554,7 +554,7 @@ private function handleAttributeBinding(DOMElement $node): void
554
554
555
555
if ($ addIfAroundAttribute && $ value ) {
556
556
$ value = $ name . '| ' . base64_encode ($ value );
557
- $ name = '__SHOW_ATTRIBUTE_IF_CONDITION_IS_TRUE__ ' ;
557
+ $ name = '__ATTRIBUTE_WITH_IF_CONDITION__ ' ;
558
558
}
559
559
560
560
$ node ->setAttribute ($ name , $ value );
@@ -1288,7 +1288,7 @@ private function replaceScopedPlaceholders(string $html): string
1288
1288
1289
1289
private function replaceAttributeWithIfConditionPlaceholders (string $ html ): string
1290
1290
{
1291
- $ pattern = '/__SHOW_ATTRIBUTE_IF_CONDITION_IS_TRUE__ ="([-a-zA-Z0-9]+)\|([a-zA-Z0-9+=]+)"/ ' ;
1291
+ $ pattern = '/__ATTRIBUTE_WITH_IF_CONDITION__ ="([-a-zA-Z0-9]+)\|([a-zA-Z0-9+=]+)"/ ' ;
1292
1292
if (preg_match_all ($ pattern , $ html , $ matches , PREG_SET_ORDER )) {
1293
1293
foreach ($ matches as $ match ) {
1294
1294
$ name = $ match [1 ];
You can’t perform that action at this time.
0 commit comments