We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e5b865 commit 8081fddCopy full SHA for 8081fdd
packages/language-service/src/utils.ts
@@ -179,7 +179,7 @@ function toAttributeCssSelector(attribute: t.TextAttribute|t.BoundAttribute|t.Bo
179
// Any dollar signs that appear in the attribute name and/or value need to be escaped because they
180
// need to be taken as literal characters rather than special selector behavior of dollar signs in
181
// CSS.
182
- return selector.replace('$', '\\$');
+ return selector.replace(/\$/g, '\\$');
183
}
184
185
function getNodeName(node: t.Template|t.Element): string {
0 commit comments