Skip to content

TagSpaces is an offline, open source, document manager with tagging support

improving code

uggrock09998c52ef97
diff --git a/data/js/core.api.js b/data/js/core.api.js
index 88890a9de..e672a3d25 100644
--- a/data/js/core.api.js
+++ b/data/js/core.api.js
@@ -176,7 +176,7 @@ define(function(require, exports, module) {
function applyCustomStyles() {
var sheet = document.createElement('style');
- sheet.innerHTML = ".tagButton {color: " + TSCORE.Config.getDefaultTagTextColor() + " !important; background: " + TSCORE.Config.getDefaultTagColor() + " !important;}";
+ sheet.innerText = ".tagButton {color: " + TSCORE.Config.getDefaultTagTextColor() + " !important; background: " + TSCORE.Config.getDefaultTagColor() + " !important;}";
document.body.appendChild(sheet);
}