Prefer textContent to innerText

Fixes #807.
Merge pull request #808 from spicyj/prefer-textContent

Prefer textContent to innerText