]> granicus.if.org Git - docbook-dsssl/commitdiff
Patch #514007: prevent hyphenation of email addresses
authorNorman Walsh <ndw@nwalsh.com>
Mon, 11 Feb 2002 12:33:16 +0000 (12:33 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 11 Feb 2002 12:33:16 +0000 (12:33 +0000)
xsl/fo/inline.xsl

index 0d89bfa0a3d366b07c06fdb6e34c16f388a3369b..13ea7e4efa86f7236e356d28f53a110abf7b5c9e 100644 (file)
 <xsl:template match="email">
   <xsl:call-template name="inline.monoseq">
     <xsl:with-param name="content">
-      <xsl:text>&lt;</xsl:text>
-      <xsl:apply-templates/>
-      <xsl:text>&gt;</xsl:text>
+      <fo:inline keep-together.within-line="always" hyphenate="false">
+        <xsl:text>&lt;</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>&gt;</xsl:text>
+      </fo:inline>
     </xsl:with-param>
   </xsl:call-template>
 </xsl:template>