Add xmlns attribute on html element in templates; pages can now validate.

master
Josh Triplett 2007-11-08 12:58:31 -08:00
parent 2bb218865e
commit 899d836683
5 changed files with 8 additions and 4 deletions

4
debian/changelog vendored
View File

@ -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

View File

@ -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]]

View File

@ -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" />

View File

@ -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>

View File

@ -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" />