We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d2f64 commit 305e740Copy full SHA for 305e740
src/Property/Selector.php
@@ -79,6 +79,7 @@ public function setSelector(string $selector): void
79
80
$hasAttribute = \strpos($selector, '[') !== false;
81
82
+ // Whitespace can't be adjusted within an attribute selector, as it would change its meaning
83
$this->selector = !$hasAttribute ? preg_replace('/\\s++/', ' ', $selector) : $selector;
84
}
85
0 commit comments