cf-elements 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. package/cf-elements.js +2 -1
  2. package/package.json +1 -1
package/cf-elements.js CHANGED
@@ -1088,8 +1088,9 @@
1088
1088
  };
1089
1089
 
1090
1090
  // Apply font-family for inheritance by child elements
1091
+ // Use single quotes to avoid breaking the HTML style attribute
1091
1092
  if (font) {
1092
- styles["font-family"] = `"${font}", sans-serif`;
1093
+ styles["font-family"] = `'${font}', sans-serif`;
1093
1094
  }
1094
1095
 
1095
1096
  if (gradient) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-elements",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Zero-dependency markup library that generates ClickFunnels compatible HTML with inline styles",
5
5
  "main": "cf-elements.js",
6
6
  "browser": "cf-elements.js",