]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
adjust for libxslt-1.1.15
authorMark Andrews <marka@isc.org>
Thu, 15 Sep 2005 02:25:25 +0000 (02:25 +0000)
committerMark Andrews <marka@isc.org>
Thu, 15 Sep 2005 02:25:25 +0000 (02:25 +0000)
doc/xsl/pre-latex.xsl

index 364afb529fbbb39cd2450fac8deb12fe9c56c036..4ae5adfb1e7063f29fa6645f038b079e37fbff07 100644 (file)
@@ -14,7 +14,7 @@
  - PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: pre-latex.xsl,v 1.3 2005/05/13 01:35:44 marka Exp $ -->
+<!-- $Id: pre-latex.xsl,v 1.4 2005/09/15 02:25:25 marka Exp $ -->
 
 <!--
   - Whack &mdash; into something that won't choke LaTeX.
@@ -25,7 +25,7 @@
 
   <xsl:variable name="mdash" select="'&#8212;'"/>
 
-  <xsl:template name="fix-mdash" match="text()[contains(., $mdash)]">
+  <xsl:template name="fix-mdash" match="text()[contains(., '&#8212;')]">
     <xsl:param name="s" select="."/>
     <xsl:choose>
       <xsl:when test="contains($s, $mdash)">