diff options
author | Lars Thorsen <[email protected]> | 2016-05-12 12:38:33 +0200 |
---|---|---|
committer | Lars Thorsen <[email protected]> | 2016-06-01 14:42:50 +0200 |
commit | 460135312809eb3fb4d34b35455601c078903404 (patch) | |
tree | 261fd43c21432bd1612f55e6637cefc27006fdaf /lib/erl_docgen/priv/xsl | |
parent | 9cbdf29184f4dd54c0b332c153809c0cfa9dbd69 (diff) | |
download | otp-460135312809eb3fb4d34b35455601c078903404.tar.gz otp-460135312809eb3fb4d34b35455601c078903404.tar.bz2 otp-460135312809eb3fb4d34b35455601c078903404.zip |
[erl_docgen] Normalize space for content in a seealso element
Diffstat (limited to 'lib/erl_docgen/priv/xsl')
-rw-r--r-- | lib/erl_docgen/priv/xsl/db_html.xsl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/erl_docgen/priv/xsl/db_html.xsl b/lib/erl_docgen/priv/xsl/db_html.xsl index 89f743a90b..75399992f2 100644 --- a/lib/erl_docgen/priv/xsl/db_html.xsl +++ b/lib/erl_docgen/priv/xsl/db_html.xsl @@ -2031,7 +2031,7 @@ </xsl:template> <xsl:template match="seealso"> - <xsl:call-template name="seealso"/> + <xsl:call-template name="seealso"/> </xsl:template> <xsl:template name="seealso"> @@ -2412,7 +2412,11 @@ <xsl:template name="nl"> <xsl:text> -</xsl:text> + </xsl:text> + </xsl:template> + + <xsl:template match="seealso//text()"> + <xsl:value-of select="normalize-space(.)"/> </xsl:template> </xsl:stylesheet> |