TagSpaces is an offline, open source, document manager with tagging support
changing typo
uggrock0e679d01f986
diff --git a/data/chromium/popup.js b/data/chromium/popup.jsindex 8cb04b458..241c5076c 100644--- a/data/chromium/popup.js+++ b/data/chromium/popup.js@@ -204,7 +204,7 @@});// end saving all images*/- cleanedHTML = "<body data-sourceUrl='" + currentTabURL + "' data-scrapedOn='" + (new Date()).toISOString() + "' >" + cleanedHTML + "</body>";+ cleanedHTML = "<body data-sourceurl='" + currentTabURL + "' data-scrappedon='" + (new Date()).toISOString() + "' >" + cleanedHTML + "</body>";if (htmlTemplate) {cleanedHTML = htmlTemplate.replace(/\<body[^>]*\>([^]*)\<\/body>/m, cleanedHTML); // jshint ignore:line}diff --git a/data/mozilla/capture.js b/data/mozilla/capture.jsindex abc54952e..51dbc20cc 100644--- a/data/mozilla/capture.js+++ b/data/mozilla/capture.js@@ -125,8 +125,8 @@ exports.saveURLToFile = function(name, url) {purifyContent(window.content.document);// Set Metadata- window.content.document.body.setAttribute('data-sourceUrl', url);- window.content.document.body.setAttribute('data-scrapedOn',(new Date()).toISOString());+ window.content.document.body.setAttribute('data-sourceurl', url);+ window.content.document.body.setAttribute('data-scrappedon',(new Date()).toISOString());persist.saveDocument(window.content.document, localFile, null, null, flags, 0);} else {diff --git a/data/mozilla/popup.js b/data/mozilla/popup.jsindex 27c33548e..68484bdeb 100644--- a/data/mozilla/popup.js+++ b/data/mozilla/popup.js@@ -62,7 +62,7 @@function prepareContent(uncleanedHTML) {//console.log("uncleaned "+uncleanedHTML);var cleanedHTML = DOMPurify.sanitize(uncleanedHTML);- cleanedHTML = "<body data-sourceUrl='" + currentURL + "' data-scrapedOn='" + (new Date()).toISOString() + "'>" + cleanedHTML + "</body>";+ cleanedHTML = "<body data-sourceurl='" + currentURL + "' data-scrappedon='" + (new Date()).toISOString() + "'>" + cleanedHTML + "</body>";cleanedHTML = htmlTemplate.replace(/\<body[^>]*\>([^]*)\<\/body>/m, cleanedHTML); // jshint ignore:linereturn cleanedHTML;}