Open jackhsu978 opened 7 years ago
Hi, thanks for contributing! Sorry for the late reply, I've been quite busy for the last year. This change looks good to me, would merge it right away, but would be totally happy if there was a regression test for it, so I don't break this feature accidentally in the future. Therefore this PR will have to wait for a while until someone writes a test for it.
Correctly handle
SVGImageElement
. If a node is an instance ofSVGImageElement
:https://...
) to base64 data URI string (data:image/png;...
)Here is an example: before and after