Fix invalid, unnecessary XHTML vestiges in root element #6

Merged
forquare merged 1 commit from fix-xhtml-root into master 2017-08-15 23:03:10 +01:00
forquare commented 2017-08-15 22:41:40 +01:00 (Migrated from github.com)

If xml:lang is kept, lang must also be used and they must be
exactly the same
. This was failing validation out of the box.

The xmlns and xml:lang are no longer needed for HTML5:

http://diveintohtml5.info/semantics.html#html-element

Finally, Hugo has a languageCode config setting, let's use it.

If `xml:lang` is kept, `lang` must also be used *and they must be exactly the same*. This was failing validation out of the box. The `xmlns` and `xml:lang` are no longer needed for HTML5: http://diveintohtml5.info/semantics.html#html-element Finally, Hugo has a `languageCode` config setting, let's use it.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forquare/rehyde-x!6
No description provided.