Given this simple code
<!Doctype html>
<html>
<head>
<title>Start Here</title>
</head>
<body>
<script type="text/javascript">
document.write("<h1>Start Here!</h1>");
</script>
</body>
</html>
I get lots of empty text nodes in IE9 as follows.
After going through similiar questions, I tried the following.
- Closing all tags.
- Removing all white spaces.
- Using UTF without BOM
- EOL = unix format
It does not help. Nothing serious bur would like to know why is this.