Here's an odd one: when converting an HTML document which contains an embedded SVG image to PDF using the command line flag --pdf-profile="PDF/UA-1", in the resulting tag tree, the <Figure> tag corresponding to the SVG image ends up with a text node inside, containing the text "PathPathPathPathPath", or words to that effect.
The text "Path" appears to be repeated once for each element within the SVG file; curiously, the result is always "Path" regardless of whether the SVG in question contains any <path> elements. A minimal example (and a screenshot of the result) is attached; as you can see, the SVG file contains three elements, and in the resulting PDF, the <Figure> element in the tag tree contains the text node "PathPathPath".
This has actually been happening for the last several versions, but I just got around to trying to fix it now, and I can't seem to figure out how to stop this from happening. Any help?
The text "Path" appears to be repeated once for each element within the SVG file; curiously, the result is always "Path" regardless of whether the SVG in question contains any <path> elements. A minimal example (and a screenshot of the result) is attached; as you can see, the SVG file contains three elements, and in the resulting PDF, the <Figure> element in the tag tree contains the text node "PathPathPath".
This has actually been happening for the last several versions, but I just got around to trying to fix it now, and I can't seem to figure out how to stop this from happening. Any help?