We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ce17e4 commit 16a031bCopy full SHA for 16a031b
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "js-element",
3
- "version": "0.0.206",
+ "version": "0.0.207",
4
"description": "",
5
"license": "LGPL-3.0",
6
"main": "./index.js",
src/main/js-element.ts
@@ -196,7 +196,7 @@ class BaseElement extends HTMLElement {
196
197
if (styles) {
198
const styleElem = document.createElement('style')
199
- styleElem.innerText = styles
+ styleElem.appendChild(document.createTextNode(styles))
200
stylesElement.appendChild(styleElem)
201
}
202
0 commit comments