function decodeObscrd(htmlOrElement) { let root; if (typeof htmlOrElement === 'string') { root = new DOMParser().parseFromString(htmlOrElement, 'text/html').body; } else { root = htmlOrElement || document; } const…
function decodeObscrd(htmlOrElement) { let root; if (typeof htmlOrElement === 'string') { root = new DOMParser().parseFromString(htmlOrElement, 'text/html').body; } else { root = htmlOrElement || document; } const…