fix(compiler): [attribute~=value] selector (#11696)
Change the seperator regular expression to ignore tildes which are followed by an equal sign. Closes #9644
This commit is contained in:
@ -426,7 +426,7 @@ export class ShadowCss {
|
||||
return scopedP;
|
||||
};
|
||||
|
||||
const sep = /( |>|\+|~)\s*/g;
|
||||
const sep = /( |>|\+|~(?!=))\s*/g;
|
||||
const scopeAfter = selector.indexOf(_polyfillHostNoCombinator);
|
||||
|
||||
let scoped = '';
|
||||
|
Reference in New Issue
Block a user