Skip to content

Commit 1bebf53

Browse files
authored
Update src/Utils/StyleBuilder.php
1 parent da8cfa0 commit 1bebf53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Utils/StyleBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function compile(?DOMElement $styleElement): ?string
9494
if ($styleElement->hasAttribute('scoped')) {
9595
$this->hasScoped = true;
9696
preg_match_all(
97-
'/(?:^|\s)\s*[^@\s][.a-z0-9-_:,()\/\s]+?\s*[{]/i',
97+
'/(?:^|\s)\s*[^@\s][\.a-z0-9-_:,\(\)\/\s]+?\s*[{]/i',
9898
$style,
9999
$matches,
100100
PREG_SET_ORDER

0 commit comments

Comments
 (0)