Ver Fonte

call preparePageData on before getting iframe content

Gildas há 7 anos atrás
pai
commit
7c5f36cc68
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      lib/single-file/single-file-core.js

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

@@ -446,6 +446,7 @@ this.SingleFileCore = this.SingleFileCore || (() => {
 						}
 					} else {
 						if (frameData.processor) {
+							await frameData.processor.preparePageData();
 							const pageData = await frameData.processor.getPageData();
 							DomProcessorHelper.setFrameContent(frameElement, pageData.content);
 						}