Sfoglia il codice sorgente

don't embed images in HTML pages

Gildas 2 anni fa
parent
commit
8114eef261
2 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 0 0
      lib/single-file-extension.js
  2. 1 1
      src/core/content/content.js

File diff suppressed because it is too large
+ 0 - 0
lib/single-file-extension.js


+ 1 - 1
src/core/content/content.js

@@ -192,7 +192,7 @@ async function processPage(options) {
 		}
 	};
 	const cancelProcessor = processor.cancel.bind(processor);
-	if (options.insertEmbeddedImage) {
+	if (options.insertEmbeddedImage && options.compressContent) {
 		ui.onInsertingEmbeddedImage(options);
 		openFileInfobar = getOpenFileBar();
 		const cancelled = await openFileInfobar.display();

Some files were not shown because too many files changed in this diff