TagSpaces is an offline, open source, document manager with tagging support
fixing exchanging images with empty dataurls
uggrockda346bada46c
diff --git a/data/ext/editorHTML/extension.js b/data/ext/editorHTML/extension.jsindex 84dbb0848..8b8e13991 100644--- a/data/ext/editorHTML/extension.js+++ b/data/ext/editorHTML/extension.js@@ -139,7 +139,9 @@ define(function(require, exports, module) {}urls.forEach(function(dataURLObject) {- cleanedContent = cleanedContent.split(dataURLObject[0]).join(dataURLObject[1]);+ if(dataURLObject[1].length > 7) {+ cleanedContent = cleanedContent.split(dataURLObject[0]).join(dataURLObject[1]);+ }//console.log(dataURLObject[0]+" - "+dataURLObject[1]);});// end saving all images