html2pdf
html2pdf copied to clipboard
SVG Path E notation
Within the SVG specification it's possible to write numbers in an exponential notation such as 7.17e-6 instead of 0.0000717. Unfortunately this notation is unknown to the parser, causing the following error message
SVG Path Error : [e] is unknown
To circumvent this, the path preparation should be adapted to except the non-action 'e' or 'E'.
Such as
[a-df-zA-DF-Z] instead of [a-zA-Z]