Skip to content
This repository was archived by the owner on May 14, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/utils/tagged-template-literal.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const interleave = (quasis, expressions, absolutePath) => {
substitute = parseInterpolationTag(expressions[i], count, absolutePath)
count += 1
// No sc tag so we guess defaults
} else if (nextChar === '{') {
} else if (nextChar === '{' || ['>', '&'].includes(prevChar)) {
// Guess as selector, which shares format with `parseInterpolationTag`, but not `wrapSelector`
substitute = `.sc-selector${count}`
count += 1
Expand Down