Skip to content

Commit 4ab1826

Browse files
jrngitster
authored andcommitted
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: 積丹尼 <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8bd9fd5 commit 4ab1826

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/docbook.xsl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
22
version='1.0'>
33
<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" />
58
</xsl:stylesheet>

0 commit comments

Comments
 (0)