Updated View.php for expose_template and IE<10

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | -
| Fixed tickets | -
| Refs tickets  | #666, #1599
| License       | MIT
| Doc PR        | -

The change done in #1599 also applied to the 1.3 branch in the Legacy. This to make sure the when templates are exposed in comments, the comments above DOCTYPE do not mess up IE<10.