]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed regression that caused an unescaped dash to be output
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 15 Feb 2008 06:41:31 +0000 (06:41 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 15 Feb 2008 06:41:31 +0000 (06:41 +0000)
between refname and refpurpose content. Closes bug #1894244.
Thanks to Daniel Leidert.

xsl/manpages/refentry.xsl

index 3634e79a5b2f3ccc6ac3b3a87f3720b8b2ff99b8..eaa097c243d1e1bfc85a1002a7b9b7f5c91f65b0 100644 (file)
     <!-- *   command descriptions for the whatis(1) and apropos(1) -->
     <!-- *   commands. -->
     <!-- * -->
-    <!-- * So why don't we precede the hyphen with a backslash here? -->
-    <!-- * Well, because it's added later, by the apply-string-subst-map -->
-    <!-- * template, before we generate final output -->
     <xsl:if test="refpurpose/node()">
-      <xsl:text> - </xsl:text>
+      <xsl:text> \- </xsl:text>
       <xsl:value-of select="normalize-space(refpurpose)"/>
     </xsl:if>
     <xsl:text>&#10;</xsl:text>