Le mar 25 fév 2014 16:46:07 CET, Tibor Simko a écrit :
> On Tue, 25 Feb 2014, Yoan Blanc wrote:
>> The master, 1.1 and 1.0 branches are quite similar, only the lang is
>> repeated though:
>>
>> [...]
>>
>> Is there a good reason for having (or keeping) those duplications?
>>
>> I have the feeling that having it only in the <html> tag is good
>> enough.
>
> Yes, I think it should be sufficient.  Looking at the commit history,
> lang/dir were first added to "body" for RTL support (in 3d4215b6), and
> later lang came independently to "html" for Open Graph support (in
> fa16d5f0).  It may be enough to have both lang/dir in "html" only.  Can
> you please prepare a branch for master so that we'd test how a few
> popular browsers behave?

http://invenio-software.org/repo/personal/invenio-yblanc/log/?h=master-lang-dir

I've also moved the content-type higher to be on the safe side¹. Even 
though, the content-type is already sent by the webserver so we could 
simply remove it.

--
Yoan

http://www.w3.org/TR/html5/document-metadata.html#charset

Reply via email to