Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59882 - trunk/tools/boostbook/xsl
From: daniel_james_at_[hidden]
Date: 2010-02-25 02:51:27


Author: danieljames
Date: 2010-02-25 02:51:26 EST (Thu, 25 Feb 2010)
New Revision: 59882
URL: http://svn.boost.org/trac/boost/changeset/59882

Log:
Fix boost.image.src when whitespace creeps in.
Text files modified:
   trunk/tools/boostbook/xsl/navbar.xsl | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/boostbook/xsl/navbar.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/navbar.xsl (original)
+++ trunk/tools/boostbook/xsl/navbar.xsl 2010-02-25 02:51:26 EST (Thu, 25 Feb 2010)
@@ -95,7 +95,7 @@
             <xsl:if test = "$nav.border = 'Boost'">
                <xsl:attribute name = "style">background-color: white; width: 50%;</xsl:attribute>
             </xsl:if>
- <xsl:if test = "boolean($boost.image.src)">
+ <xsl:if test = "boolean(normalize-space($boost.image.src))">
                <img alt="{$boost.image.alt}" width="{$boost.image.w}" height="{$boost.image.h}">
                    <xsl:attribute name="src">
                        <xsl:call-template name="href.target.relative">


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk