From 825d990daf373fdbb0f8ed63f1ec72c0083857c1 Mon Sep 17 00:00:00 2001 From: Romain Courteaud <romain@nexedi.com> Date: Mon, 30 Oct 2017 17:40:51 +0100 Subject: [PATCH] [erp5_xhtml_style/erp5_web] Switch from xhtml doctype to html5 --- .../portal_skins/erp5_web_minimal_theme/template_erp5_web.zpt | 4 ++-- .../erp5_xhtml_style/template_erp5_xhtml_style.zpt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_minimal_theme/template_erp5_web.zpt b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_minimal_theme/template_erp5_web.zpt index 22f7e0765c..51e8150d3e 100644 --- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_minimal_theme/template_erp5_web.zpt +++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web_minimal_theme/template_erp5_web.zpt @@ -41,8 +41,8 @@ subject_list subject_list | python:here.getProperty('subject_list', []) or []; "> <tal:block metal:use-macro="global_definitions_macros/header_definitions" /> - <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> - <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <!DOCTYPE html> + <html xml:lang="en" lang="en"> <head> <tal:block metal:use-macro="global_definitions_macros/header_boilerplate" /> <tal:block metal:use-macro="global_definitions_macros/render_css_js" /> diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.zpt b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.zpt index c7fbc75b41..a463d91e4a 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.zpt +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/template_erp5_xhtml_style.zpt @@ -18,7 +18,7 @@ DEPRECATION: "> <tal:block metal:use-macro="global_definitions_macros/header_definitions" /> <!DOCTYPE html> - <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <html xml:lang="en" lang="en"> <head> <tal:block metal:use-macro="global_definitions_macros/header_boilerplate" /> <meta name="generator" content="ERP5 - Copyright (C) 2001 - 2015. All rights reserved." /> -- 2.30.9