Skip to content

Commit 76b7e33

Browse files
author
Manuel Mujica
committed
Fix conditional html tag insertion
It was not taking into account non IE browsers, causing the browser to insert an `html` tag without the `lang` property. Closes #44
1 parent aefd15c commit 76b7e33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/layout.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<!--[if IE 9]>
1414
<html class="no-js ie ie9" lang="en">
1515
<![endif]-->
16-
<!--[if gt IE 9]>
16+
<!--[if (gt IE 9)|!(IE)]><!-->
1717
<html class="no-js" lang="en">
18-
<![endif]-->
18+
<!--<![endif]-->
1919
<head>
2020
<meta charset="utf-8">
2121
<title>{{makeParentTitle}} {{#if title}}- {{title}} {{else}} {{#if name}}- {{name}}{{/if}}{{/if}}</title>

0 commit comments

Comments
 (0)