@torpor/view 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/compile.cjs +4 -0
- package/dist/compile.cjs.map +1 -1
- package/dist/compile.js +4 -0
- package/dist/compile.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
- package/src/compile/parse/parseCode.ts +4 -0
package/CHANGELOG.md
CHANGED
package/dist/compile.cjs
CHANGED
|
@@ -3805,15 +3805,19 @@ function parseComponentStyle(status) {
|
|
|
3805
3805
|
} else if (char === "/" && nextChar === "*") {
|
|
3806
3806
|
status.i = status.source.indexOf("*/", status.i) + 1;
|
|
3807
3807
|
} else if (char === '"' || char === "'") {
|
|
3808
|
+
styleSource += char;
|
|
3808
3809
|
for (let j = status.i + 1; j < status.source.length; j++) {
|
|
3810
|
+
styleSource += status.source[j];
|
|
3809
3811
|
if (status.source[j] === char && status.source[j - 1] !== "\\") {
|
|
3810
3812
|
status.i = j;
|
|
3811
3813
|
break;
|
|
3812
3814
|
}
|
|
3813
3815
|
}
|
|
3814
3816
|
} else if (char === "`") {
|
|
3817
|
+
styleSource += char;
|
|
3815
3818
|
let level2 = 0;
|
|
3816
3819
|
for (let j = status.i + 1; j < status.source.length; j++) {
|
|
3820
|
+
styleSource += status.source[j];
|
|
3817
3821
|
if (status.source[j] === char && status.source[j - 1] !== "\\" && level2 === 0) {
|
|
3818
3822
|
status.i = j;
|
|
3819
3823
|
break;
|