new DOMParser().parseFromString(svgString, "image/svg+xml")
Dont know if it is a solution for you but i usually do it like:
Evergreen browsers work with the outerHTML spec for SVGs, just not IE and company. This solution works great though. Thanks!
If you want to parse the string again and insert the node in your document: