aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/docbook.xsl
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-08-20 00:04:02 -0500
committerJunio C Hamano <gitster@pobox.com>2010-08-20 10:53:56 -0700
commit4ab18264e06aa4ad6d9793519828950234caf15d (patch)
tree71118e6c8772ee5f236beacf820523064aa8b293 /Documentation/docbook.xsl
parent8bd9fd50014424643bddfde51423d42e0fc60800 (diff)
downloadgit-4ab18264e06aa4ad6d9793519828950234caf15d.tar.gz
Documentation: set a !DOCTYPE for user manual
asciidoc already takes care of including a doctype for most of the HTML documentation, but the user manual which is processed with docbook-xsl directly lacks one (at least with Debian docbook-xsl 1.75.2+dfsg-5). This makes it harder to automatically validate the HTML. Reported-by: 積丹尼 <jidanni@jidanni.org> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/docbook.xsl')
-rw-r--r--Documentation/docbook.xsl5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/docbook.xsl b/Documentation/docbook.xsl
index 9a6912c641..da8b05b922 100644
--- a/Documentation/docbook.xsl
+++ b/Documentation/docbook.xsl
@@ -1,5 +1,8 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
- <xsl:output method="html" encoding="UTF-8" indent="no" />
+ <xsl:output method="html"
+ encoding="UTF-8" indent="no"
+ doctype-public="-//W3C//DTD HTML 4.01//EN"
+ doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
</xsl:stylesheet>