commit: b5bfc69fab686a49e6fbf54aceae2bb12885dc5a Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Sun Apr 28 16:51:57 2019 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Thu Jan 2 12:41:01 2020 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=b5bfc69f
devbook.xsl: strip leading/trailing whitespace from header identifiers. We were already replacing spaces *within* these identifiers, so we don't have to worry about that. Bug: https://bugs.gentoo.org/626032 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> devbook.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devbook.xsl b/devbook.xsl index a8a11f1..ae0313c 100644 --- a/devbook.xsl +++ b/devbook.xsl @@ -282,7 +282,7 @@ <xsl:param name="data"/> <xsl:variable name="lcletters">abcdefghijklmnopqrstuvwxyz--</xsl:variable> <xsl:variable name="ucletters">ABCDEFGHIJKLMNOPQRSTUVWXYZ<xsl:text> </xsl:text>,</xsl:variable> - <xsl:value-of select="translate($data,$ucletters,$lcletters)"/> + <xsl:value-of select="translate(normalize-space($data),$ucletters,$lcletters)"/> </xsl:template> <xsl:template match="uri">
