Ver código fonte

disable more options when processing html inports

Gildas 6 anos atrás
pai
commit
50288a1af9
1 arquivos alterados com 3 adições e 0 exclusões
  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;