fix(sanitize): prevent layout trashing if possible

Using the style agnostic "textContent" in favor
for for "innerText" prevents layout trashing.

Fixes #4720