when I convert an HTML file with the following content to image or PDF the “Text in span” part seems to have a black background:
<html><body>
<div dir="auto">
Visible text
<span style="color: var(--text-color); background: var(--bg-color);"dir="auto">
Text in span
</span>
</div>
</body></html>
This is probably due to the style variables “text-color” and “bg-color” which are not defined in the document. When opening the file in the browser however, the text in span is visible and the background is not set to black. Is there a way to ignore the style variables if not set? Would the converted content then show the text as expected?
I am using GemBox.Bundle in my application and updated the package to 47.0.1108-hotfix, which includes GemBox.Document in version 35.0.1408-hotfix.
With the new GemBox.Bundle version my build shows warnings:
Warning NU1603 : GemBox.Bundle 47.0.1108-hotfix depends on GemBox.Imaging (>= 10.0.1073-hotfix) but GemBox.Imaging 10.0.1073-hotfix was not found. An approximate best match of GemBox.Imaging 10.0.1073 was resolved.