You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by je...@apache.org on 2018/12/04 21:02:41 UTC

[sling-site] branch master updated: SLING-7663 defaulting doctype to just html

This is an automated email from the ASF dual-hosted git repository.

jeb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/master by this push:
     new b137457  SLING-7663 defaulting doctype to just html
b137457 is described below

commit b137457475eaea030d136a7c418bb1c526b56a2f
Author: JE Bailey <ja...@sas.com>
AuthorDate: Tue Dec 4 16:02:35 2018 -0500

    SLING-7663 defaulting doctype to just html
    
    this is the default html5 doctype and results in fewer validation errors
    that occur in html validators, including browsers
---
 src/main/jbake/templates/layout/main.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/jbake/templates/layout/main.tpl b/src/main/jbake/templates/layout/main.tpl
index 7c3e9b1..5280646 100644
--- a/src/main/jbake/templates/layout/main.tpl
+++ b/src/main/jbake/templates/layout/main.tpl
@@ -1,4 +1,4 @@
-yieldUnescaped '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'
+yieldUnescaped '<!DOCTYPE html>'
 html(lang:'en'){
 
 	include template: "header.tpl"