4456. [doc] Add DOCTYPE and lang attribute to <html> tags.

[RT #42587]
This commit is contained in:
Mark Andrews
2016-08-26 15:14:04 +10:00
parent e1f590a59a
commit 63fe88e8d8
111 changed files with 233 additions and 110 deletions

View File

@@ -34,8 +34,10 @@
<!-- Generate consistent id attributes -->
<xsl:param name="generate.consistent.ids" select="1"/>
<!-- Override Docbook template to insert copyright -->
<!-- Override Docbook template to insert DOCTYPE and copyright -->
<xsl:template name="user.preroot">
<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;</xsl:text>
<xsl:text>&#10;</xsl:text>
<xsl:comment>
<xsl:text>&#10;</xsl:text>
<xsl:value-of select="$isc.copyright"/>
@@ -43,6 +45,10 @@
<xsl:text>&#10;</xsl:text>
</xsl:template>
<xsl:template name="root.attributes">
<xsl:attribute name="lang">en</xsl:attribute>
</xsl:template>
<xsl:template name="user.footer.navigation">
<p style="text-align: center;">@BIND9_VERSIONSTRING@</p>
</xsl:template>