@matheusbsbs / matheus-bagliano / commits / 4ab18264e0
Fork 0

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>

Jonathan Nieder committed Aug 20, 2010 at 00:04 UTC 4ab18264e06aa4ad6d9793519828950234caf15d
1 file changed +4 -1
Documentation/docbook.xsl
+4 -1
@@ -1,5 +1,8 @@
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2 version='1.0'>
3 <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
4 - <xsl:output method="html" encoding="UTF-8" indent="no" />
4 + <xsl:output method="html"
5 + encoding="UTF-8" indent="no"
6 + doctype-public="-//W3C//DTD HTML 4.01//EN"
7 + doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
8 </xsl:stylesheet>