span.parentNode.replaceChild(span, document.createTextNode(span.textContent || span.innerText || ''))