I have a client that wants his site to be fully valid HTML 5 mark up per the markup validation service at http://validator.w3.org/ There is only one little error that I think he can live with but I’d like to clear up if possible. Does anyone know how to remove the meta element that sets the global language e.g. <meta http-equiv="Content-Language" content="en" /> from the header markup in Composite C1? I have been unsuccessful locating it.
I have a client that wants his site to be fully valid HTML 5
Share
The Content-Language meta tag is emitted from the Composite.Web.Html.Template.CommonMetaTags function and is indeed not html5.
You can fix this by removing the function call (the
<f:function name="Composite.Web.Html.Template.CommonMetaTags" />from your layout template). This will also remove other meta tags and you can insert them instead if you like.The other meta tags are these:
Thanks to your post here this has been registered as a bug with Composite C1 and should be fixed in the next release.