aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen/priv/xsl/db_html.xsl
diff options
context:
space:
mode:
authorLars G Thorsen <[email protected]>2009-12-15 10:12:17 +0000
committerErlang/OTP <[email protected]>2009-12-15 10:12:17 +0000
commitf48453e7af9fdc5dc71824b69cfe979b173b9354 (patch)
treef16df57b4c7980d2806c7cd5a1df8673ec87a2bc /lib/erl_docgen/priv/xsl/db_html.xsl
parent53c1f771aee097c8f2835aeb18b272ab7fb5991c (diff)
downloadotp-f48453e7af9fdc5dc71824b69cfe979b173b9354.tar.gz
otp-f48453e7af9fdc5dc71824b69cfe979b173b9354.tar.bz2
otp-f48453e7af9fdc5dc71824b69cfe979b173b9354.zip
OTP-8308 Added an xsl transform from OTP xml documentation to a file
(.eix) of erlang terms that can be read by the erldoc application. Erldoc handles the documentation search mechanism at erlang.org. Added generation of eix files to otp_release_targets.mk. Fixed a copyright date error in db_html.xsl .
Diffstat (limited to 'lib/erl_docgen/priv/xsl/db_html.xsl')
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl
index 3e6f762870..984655fc26 100644
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -61,7 +61,7 @@
<xsl:value-of select="$copyright"/>
<xsl:value-of select="/book/header/copyright/year[1]"/>
<xsl:text>-</xsl:text>
- <xsl:value-of select="substring-after(substring-after($gendate, ' '), ' ')"/>
+ <xsl:value-of select="substring-after(normalize-space(substring-after($gendate, ' ')), ' ')"/>
<xsl:text> </xsl:text>
<xsl:value-of select="/book/header/copyright/holder"/>
</p>