#3537 set IE doc mode to Edge if not HTML5

This commit is contained in:
Timotheus Kampik 2017-08-12 19:42:31 +02:00
parent ddbc205535
commit a027ee7990

View File

@ -120,6 +120,9 @@
<html xmlns="http://www.w3.org/1999/xhtml"{% if language is not none %} lang="{{ language }}"{% endif %}>
{%- endif %}
<head>
{%- if not html5_doctype %}
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
{%- endif %}
{%- if use_meta_charset or html5_doctype %}
<meta charset="{{ encoding }}" />
{%- else %}