]> granicus.if.org Git - docbook-dsssl/commitdiff
hyphenate.verbatim code no longer inserts zero width space after hyphenate.verbatim...
authorDavid Cramer <david@thingbag.net>
Tue, 22 Feb 2005 03:42:35 +0000 (03:42 +0000)
committerDavid Cramer <david@thingbag.net>
Tue, 22 Feb 2005 03:42:35 +0000 (03:42 +0000)
xsl/fo/verbatim.xsl

index 8499c84c7523a2f85f7a6e674e092a5728edb731..aad7d0cde9bba933c41112d8d9b3fb953ca9b4e5 100644 (file)
       <xsl:text>&#x00AD;</xsl:text>
     </xsl:when>
     <xsl:when test="$hyphenate.verbatim.characters != '' and
-                    translate($head, $hyphenate.verbatim.characters, '') = ''">
+                    translate($head, $hyphenate.verbatim.characters, '') = '' and not($tail = '')">
       <xsl:value-of select="$head"/>
       <xsl:text>&#x00AD;</xsl:text>
     </xsl:when>