aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl/db_html.xsl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2016-05-13 08:04:51 +0200
committerLars Thorsen <[email protected]>2016-06-01 14:38:36 +0200
commita3afcff92485b6a696e40359a7d0300d4661e9c1 (patch)
treedf7b553e7fe579ab6512c90bf05e7432885777cc /lib/erl_docgen/priv/xsl/db_html.xsl
parentd7e91348bc49a8f46a4d8223d522e2d92469f6da (diff)
downloadotp-a3afcff92485b6a696e40359a7d0300d4661e9c1.tar.gz
otp-a3afcff92485b6a696e40359a7d0300d4661e9c1.tar.bz2
otp-a3afcff92485b6a696e40359a7d0300d4661e9c1.zip
Make it possible to run xmllint target in system documentation
Diffstat (limited to 'lib/erl_docgen/priv/xsl/db_html.xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index c2d7d40446..fa5c15cfa8 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -989,10 +989,6 @@
</xsl:template>
<!-- Inline elements -->
- <xsl:template match="b">
- <strong><xsl:apply-templates/></strong>
- </xsl:template>
-
<xsl:template match="i">
<i><xsl:apply-templates/></i>
</xsl:template>
@@ -1009,6 +1005,10 @@
<strong><xsl:apply-templates/></strong>
</xsl:template>
+ <xsl:template match="strong">
+ <strong><xsl:apply-templates/></strong>
+ </xsl:template>
+
<!-- Code -->
<xsl:template match="code">
<xsl:param name="chapnum"/>
@@ -1095,11 +1095,11 @@
<xsl:param name="chapnum"/>
<xsl:param name="fignum"/>
- <em>Figure
+ <p><em>Figure
<xsl:value-of select="$chapnum"/>.<xsl:value-of select="$fignum"/>:
&#160;
<xsl:apply-templates/>
- </em>
+ </em></p>
</xsl:template>