Open gabifromkorea opened 2 years ago
if url includes double hyphen(--) it tokenized to css vars
styled('div', { background: 'url("https://deploy-preview-2--instutible-bermi-d4ce5b.netlify.app/assets/blockchain_panel.56a9eae4.png")', .... }) => 'background' property removed by stitches to prevent wrong value
Avoid removing property from stitches using duplicate quotes
styled('div', { background: 'url(""https://deploy-preview-2--instutible-bermi-d4ce5b.netlify.app/assets/blockchain_panel.56a9eae4.png")', .... }) => in css { background: url(""https://deploy-previewcalc(var(--instutible-bermi-d4ce5b)*-2).netlify.app/assets/blockchain_panel0.56a9eae4.png")"" }
hello, I would like to work on this issue, thanks.
Reopening as the merged solution was reverted in https://github.com/stitchesjs/stitches/pull/1107
Bug report
Describe the bug
if url includes double hyphen(--) it tokenized to css vars
To Reproduce
Avoid removing property from stitches using duplicate quotes