]> granicus.if.org Git - docbook-dsssl/commitdiff
URLs shouldn't be hyphenated as normal text
authorJirka Kosek <jirka@kosek.cz>
Tue, 24 May 2011 10:54:38 +0000 (10:54 +0000)
committerJirka Kosek <jirka@kosek.cz>
Tue, 24 May 2011 10:54:38 +0000 (10:54 +0000)
xsl/fo/xref.xsl

index e2bad57ee2d19ea30b06730f714e851e3cb15986..f6c6bc1772ae0cb28bfec66fabb08a5fb2733b16 100644 (file)
                  external-destination="{$ulink.url}">
     <xsl:choose>
       <xsl:when test="count(child::node())=0 or (string(.) = $url)">
-        <xsl:call-template name="hyphenate-url">
-          <xsl:with-param name="url" select="$url"/>
-        </xsl:call-template>
+       <fo:inline hyphenate="false">
+         <xsl:call-template name="hyphenate-url">
+           <xsl:with-param name="url" select="$url"/>
+         </xsl:call-template>
+       </fo:inline>
       </xsl:when>
       <xsl:otherwise>
         <xsl:apply-templates/>