Browse Source

replaced innerText with textContent

Gildas 7 years ago
parent
commit
53c6aebc48
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/single-file/single-file-core.js

+ 1 - 1
lib/single-file/single-file-core.js

@@ -358,7 +358,7 @@ const SingleFileCore = (() => {
 				const cssRules = [];
 				const cssRules = [];
 				if (style.sheet) {
 				if (style.sheet) {
 					processRules(style.sheet.cssRules, cssRules);
 					processRules(style.sheet.cssRules, cssRules);
-					style.innerText = cssRules.join("");
+					style.textContent = cssRules.join("");
 				}
 				}
 			});
 			});