aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_docgen
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2016-05-12 12:38:33 +0200
committerLars Thorsen <[email protected]>2016-06-01 14:42:50 +0200
commit460135312809eb3fb4d34b35455601c078903404 (patch)
tree261fd43c21432bd1612f55e6637cefc27006fdaf /lib/erl_docgen
parent9cbdf29184f4dd54c0b332c153809c0cfa9dbd69 (diff)
downloadotp-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')
-rw-r--r--lib/erl_docgen/priv/xsl/db_html.xsl8
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>