iFrame, Embed, and Object Entities Are Automatically Removed — How to Resolve This?
If your conversions rely on iFrame, embed, and object entities and you’re confident about the safety of them, it’s possible to configure the conversion to keep them.
<!-- Remove the following (potentially malicious) nodes from any HTML file converted. * Comma-separated list of HTML tags (for example, "iframe, embed, object"). All objects with the listed tag names will be removed even if they were dynamically created. * Leave empty for default behavior. The HTML source will not be modified. --> <add key="HTMLConverterFullFidelity.RemoveNodes" value="iframe,embed,object"/>
This feature is only available when the Chromium HTML engine is used. Furthermore, it isn’t available for Windows Server 2008 R2 and Windows Server 2012 R2 when a URL is converted, but it is when a string is converted.