dom-to-image
dom-to-image copied to clipboard
Fixed bug applying clasName to SVG DOM tags
Setting className = throwed this error:
Cannot set property className of SVGElement which has only a getter.
Setting this line to node.setAttribute fixed the error