TagSpaces is an offline, open source, document manager with tagging support
added new text extensions
Borislav Sapundzhiev6e196182b3b2
diff --git a/data/chromelight/popup.js b/data/chromelight/popup.jsindex f28d54413..bc4ca9237 100644--- a/data/chromelight/popup.js+++ b/data/chromelight/popup.js@@ -243,7 +243,8 @@function getFileExt(fileName) {var ext = fileName.replace(/^.*?\.([a-zA-Z0-9]+)$/, "$1");- if (ext === "html" || ext === "htm" || ext.length === fileName.length) {+ var textExts = ["html", "htm", "php", "md"];+ if (textExts.indexOf(ext) >= 0 || ext.length === fileName.length) {return 'mhtml';} else {return ext;