]> granicus.if.org Git - docbook-dsssl/commitdiff
Removed misguided code intended for normalizing whitespace in term
authorMichael Smith <xmldoc@users.sourceforge.net>
Wed, 28 Sep 2005 18:26:23 +0000 (18:26 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Wed, 28 Sep 2005 18:26:23 +0000 (18:26 +0000)
output for HTML and FO. (It's not necessary for those, though it is
still needed in manpages output because we're using the .TP macro,
and first line following that is treated differently than the
subsequent lines. So we need to get rid of any embedded line
breaks from within the Term source.)

xsl/fo/lists.xsl
xsl/html/lists.xsl

index 421d9dc37048917828a904bea3b601f02808fdbe..1a7dc1f0584c7e5254bb7dbe3eab4731e237ff6e 100644 (file)
 </xsl:template>
 
 <xsl:template match="varlistentry/term">
-  <xsl:variable name="content">
-    <xsl:apply-templates/>
-  </xsl:variable>
-  <fo:inline><xsl:value-of select="normalize-space($content)"/></fo:inline>
+  <fo:inline><xsl:apply-templates/></fo:inline>
   <xsl:choose>
     <xsl:when test="position() = last()"/> <!-- do nothing -->
     <xsl:otherwise>
index 5e516d109484234af4ebd08ce7c7074cb84482c2..2181b1058e0b64c88cb45351c74a796457ad86a2 100644 (file)
 <xsl:template match="varlistentry/term">
   <span class="term">
     <xsl:call-template name="anchor"/>
-    <xsl:variable name="content">
-      <xsl:apply-templates/>
-    </xsl:variable>
-    <xsl:value-of select="normalize-space($content)"/>
+    <xsl:apply-templates/>
     <xsl:choose>
       <xsl:when test="position() = last()"/> <!-- do nothing -->
       <xsl:otherwise>