Explorar o código

disable more options when processing html inports

Gildas %!s(int64=6) %!d(string=hai) anos
pai
achega
50288a1af9
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      lib/single-file/single-file-core.js

+ 3 - 0
lib/single-file/single-file-core.js

@@ -951,6 +951,9 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 				options.insertSingleFileComment = false;
 				options.insertFaviconLink = false;
 				options.removeUnusedStyles = false;
+				options.removeAlternativeMedias = false;
+				options.removeUnusedFonts = false;
+				options.removeHiddenElements = false;
 				options.doc = null;
 				options.win = null;
 				options.url = resourceURL;