@cocreate/render 1.5.3 → 1.5.4

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,3 +1,10 @@
1
+ ## [1.5.4](https://github.com/CoCreate-app/CoCreate-render/compare/v1.5.3...v1.5.4) (2022-02-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * setValue as innerHTML ([2b07f7b](https://github.com/CoCreate-app/CoCreate-render/commit/2b07f7b9a4d71fbef652148c62cd88d5c1a5efa4))
7
+
1
8
  ## [1.5.3](https://github.com/CoCreate-app/CoCreate-render/compare/v1.5.2...v1.5.3) (2022-02-03)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/render",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "A simple render component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "render",
package/src/index.js CHANGED
@@ -135,7 +135,7 @@ const CoCreateRender = {
135
135
  let textContent = el.textContent;
136
136
  textContent = that.__replaceValue(data, textContent);
137
137
  if (textContent) {
138
- el.textContent = textContent;
138
+ el.innerHTML = textContent;
139
139
  }
140
140
  }
141
141