Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77779 - trunk/tools/boostbook/xsl
From: steven_at_[hidden]
Date: 2012-04-05 09:51:24


Author: steven_watanabe
Date: 2012-04-05 09:51:24 EDT (Thu, 05 Apr 2012)
New Revision: 77779
URL: http://svn.boost.org/trac/boost/changeset/77779

Log:
Don't lose elements directly under the <programlisting> when highlighting jam code.
Text files modified:
   trunk/tools/boostbook/xsl/source-highlight.xsl | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/boostbook/xsl/source-highlight.xsl
==============================================================================
--- trunk/tools/boostbook/xsl/source-highlight.xsl (original)
+++ trunk/tools/boostbook/xsl/source-highlight.xsl 2012-04-05 09:51:24 EDT (Thu, 05 Apr 2012)
@@ -568,7 +568,7 @@
   </xsl:template>
 
   <xsl:template match="*" mode="highlight-jam">
- <xsl:apply-templates mode="annotation"/>
+ <xsl:apply-templates select="." mode="annotation"/>
   </xsl:template>
 
   <xsl:template match="text()" mode="highlight-jam">


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