This issue proposes a bug which...
Background & Context
I use DOMPurify to sanitize innerHTML of <g> element
Bug
Input
DOMPurify.sanitize('<polyline points="0 0"></polyline>', { USE_PROFILES: { svg: true } })
Given output
2.2.4: <polyline points="0 0"></polyline>
2.2.6: empty string
Expected output
same as 2.2.4
maybe related to #495, but i can not find a option to specify root namespace.