Fix view source failures in Internet Explorer.
Merge pull request #171 from mas3/viewsource-fix

Fix view source failures in Internet Explorer.