@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @torpor/view
2
2
 
3
+ ## 0.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - ed4a6db: Fix: include quoted content in styles
8
+
3
9
  ## 0.0.12
4
10
 
5
11
  ### Patch Changes
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;