Whitespace preservation and the DOM
Any white space that you add to a webpage persists in the Document Object Model (DOM).
Any white space that you add to a webpage persists in the DOM when using Windows Internet Explorer 9.
Consider how the following code example appears in Internet Explorer 9 and Internet Explorer 8.
<div> Text </div>
Internet Explorer 9:
div |->"\n Text "
Internet Explorer 8:
Build date: 11/17/2013