]> granicus.if.org Git - docbook-dsssl/commitdiff
corrected a regression I introduced about a year ago that caused
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 26 Feb 2008 11:51:32 +0000 (11:51 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 26 Feb 2008 11:51:32 +0000 (11:51 +0000)
dots to be output just as "\." -- instead needs to be "\&." (which
is what it will be now, after this change)

xsl/manpages/other.xsl
xsl/manpages/utility.xsl

index 034a6df0b50bb395ab311e401e8df33c14c4b998..47e99733a61a77a1cb388aabca5c433177618b31 100644 (file)
@@ -230,7 +230,7 @@ db:manvolnum
   <xsl:call-template name="string.subst">
     <xsl:with-param name="string" select="$content"/>
     <xsl:with-param name="target">.</xsl:with-param>
-    <xsl:with-param name="replacement">\.</xsl:with-param>
+    <xsl:with-param name="replacement">\&amp;.</xsl:with-param>
   </xsl:call-template>
 </xsl:template>
 
index d3ba029ad5c3dcbb6f05b64bf5418f96d7d90900..355ea2c0953ca05721dd4707510db2229b62740e 100644 (file)
     <xsl:variable name="dot-content">
       <xsl:call-template name="string.subst">
         <xsl:with-param name="string" select="$content"/>
-        <xsl:with-param name="target" select="'\.'"/>
+        <xsl:with-param name="target" select="'\&amp;.'"/>
         <xsl:with-param name="replacement" select="'.'"/>
       </xsl:call-template>
     </xsl:variable>