TagSpaces is an offline, open source, document manager with tagging support
fixing issue with html template from settings
uggrock54f5966c0848
diff --git a/data/chromelight/popup.js b/data/chromelight/popup.jsindex 23d2f6c33..27c7ff09c 100644--- a/data/chromelight/popup.js+++ b/data/chromelight/popup.js@@ -190,7 +190,9 @@// end saving all images*/cleanedHTML = "<body>" + cleanedHTML + "</body>";- cleanedHTML = htmlTemplate.replace(/\<body[^>]*\>([^]*)\<\/body>/m, cleanedHTML); // jshint ignore:line+ if (htmlTemplate) {+ cleanedHTML = htmlTemplate.replace(/\<body[^>]*\>([^]*)\<\/body>/m, cleanedHTML); // jshint ignore:line+ }return cleanedHTML;}