diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-11-08 12:58:31 -0800 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-11-08 12:59:02 -0800 |
commit | 899d8366839735527e88b060a47d40c16c390df6 (patch) | |
tree | fd4b77fd9b34774f6cf2b9ee539f38903e2bb550 | |
parent | 2bb218865e8e52256f3bc660d0a675446cb4f88a (diff) | |
download | ikiwiki-899d8366839735527e88b060a47d40c16c390df6.tar ikiwiki-899d8366839735527e88b060a47d40c16c390df6.tar.gz |
Add xmlns attribute on html element in templates; pages can now validate.
-rw-r--r-- | debian/changelog | 4 | ||||
-rw-r--r-- | doc/bugs/XHTML_needs_xmlns_attribute_on_html_element.mdwn | 2 | ||||
-rw-r--r-- | templates/misc.tmpl | 2 | ||||
-rw-r--r-- | templates/page.tmpl | 2 | ||||
-rw-r--r-- | templates/recentchanges.tmpl | 2 |
5 files changed, 8 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index 0c4c8da8f..f2c296ab1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,8 +20,10 @@ ikiwiki (2.12) UNRELEASED; urgency=low [ Josh Triplett ] * Fix table plugin to not generate an unbalanced tbody tag with header=no + * Add xmlns attribute on html element in templates; pages can now + validate. - -- Josh Triplett <josh@freedesktop.org> Thu, 08 Nov 2007 11:41:27 -0800 + -- Josh Triplett <josh@freedesktop.org> Thu, 08 Nov 2007 12:58:28 -0800 ikiwiki (2.11) unstable; urgency=low diff --git a/doc/bugs/XHTML_needs_xmlns_attribute_on_html_element.mdwn b/doc/bugs/XHTML_needs_xmlns_attribute_on_html_element.mdwn index 8bb8e1b56..751aaf064 100644 --- a/doc/bugs/XHTML_needs_xmlns_attribute_on_html_element.mdwn +++ b/doc/bugs/XHTML_needs_xmlns_attribute_on_html_element.mdwn @@ -1,3 +1,5 @@ XHTML needs `xmlns="http://www.w3.org/1999/xhtml"` on the `html` element; otherwise, it will not validate. --[[JoshTriplett]] + +[[done]] --[[JoshTriplett]] diff --git a/templates/misc.tmpl b/templates/misc.tmpl index 32e2c934e..184920eaf 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"> <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 a02345f89..3a1ac9ef8 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"> <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 e954503f8..e03482f43 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"> <head> <base href="<TMPL_VAR BASEURL>" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |