[PATCH] XHTML validity: add xmlns attribute to element html

Nis Martensen nis.martensen at web.de
Thu Nov 15 12:32:40 PST 2007


---
 templates/editpage.tmpl      |    2 +-
 templates/misc.tmpl          |    2 +-
 templates/page.tmpl          |    2 +-
 templates/recentchanges.tmpl |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl
index 926aa0e..c76ad75 100644
--- a/templates/editpage.tmpl
+++ b/templates/editpage.tmpl
@@ -1,6 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <base href="<TMPL_VAR BASEURL>" />
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/templates/misc.tmpl b/templates/misc.tmpl
index 32e2c93..8e5ddbc 100644
--- a/templates/misc.tmpl
+++ b/templates/misc.tmpl
@@ -1,6 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <base href="<TMPL_VAR BASEURL>" />
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
diff --git a/templates/page.tmpl b/templates/page.tmpl
index 8921b9c..ad3b3c3 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -1,6 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <title><TMPL_VAR TITLE></title>
diff --git a/templates/recentchanges.tmpl b/templates/recentchanges.tmpl
index e954503..2c1dc1f 100644
--- a/templates/recentchanges.tmpl
+++ b/templates/recentchanges.tmpl
@@ -1,6 +1,6 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <base href="<TMPL_VAR BASEURL>" />
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-- 
1.5.3.4.206.g58ba4


--9amGYk9869ThD9tj
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0002-XHTML-validity-fixes-remove-border-attribute-span.patch"



More information about the cairo mailing list