Plain Text vs innerText vs textContent
The differences between grabbing the text with textContent and innerText vary wildly. Because no whitespace normalization is performed, what textContent is essentially doing is acting like a PRE element. innerText performs the normalization, but varies between WebKit and IE, and even between IE7 and IE8. The solution? The custom getPlainText() function.
