From d5d2f551baf279bda1e411559d6bdd9e267c268b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= <come@opensides.be> Date: Wed, 24 Oct 2018 12:42:47 +0000 Subject: [PATCH] Merge branch '5914-html-tag-should-have-a-lang-attribute' into '1.4-dev' Resolve "html tag should have a lang attribute" See merge request fusiondirectory/fd!431 (cherry picked from commit 186b5c07ffa27b47eebc62a106bcf45c74692b51) da63c903 :ambulance: fix(html) Fill lang attribute of html tag --- ihtml/themes/breezy/headers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ihtml/themes/breezy/headers.tpl b/ihtml/themes/breezy/headers.tpl index 9753b1eae..647391401 100644 --- a/ihtml/themes/breezy/headers.tpl +++ b/ihtml/themes/breezy/headers.tpl @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html xmlns="http://www.w3.org/1999/xhtml" {if $rtl}dir="rtl" class="rtl"{else}class="ltr"{/if}> +<html xmlns="http://www.w3.org/1999/xhtml" {if $lang}lang="{$lang}" xml:lang="{$lang}"{/if} {if $rtl}dir="rtl" class="rtl"{else}class="ltr"{/if}> <head> <title>{if isset($title)}{$title}{else}FusionDirectory{/if}</title> -- GitLab