]> granicus.if.org Git - docbook-dsssl/commitdiff
Added fix for subtitle in metadata.
authorMauritz Jeanson <mj@johanneberg.com>
Thu, 23 Oct 2008 18:28:29 +0000 (18:28 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Thu, 23 Oct 2008 18:28:29 +0000 (18:28 +0000)
xsl/fo/fop1.xsl

index be8343297aa420686b9214f65df6b04257d0e43d..6488c7c1ee449038dc01fb47f2607b1b287bf37d 100644 (file)
@@ -78,7 +78,7 @@
     <xsl:variable name="subtitle">
       <xsl:apply-templates select="/*[1]" mode="subtitle.markup"/>
     </xsl:variable>
-    <xsl:if test="$subtitle">
+    <xsl:if test="$subtitle !=''">
       <xsl:text> - </xsl:text>
       <xsl:value-of select="$subtitle"/>
     </xsl:if>