]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixing image @align attribute handling override (to just use what is in xhtml-1_1...
authorKeith Fahlgren <abdelazer@users.sourceforge.net>
Tue, 6 Jan 2009 20:14:12 +0000 (20:14 +0000)
committerKeith Fahlgren <abdelazer@users.sourceforge.net>
Tue, 6 Jan 2009 20:14:12 +0000 (20:14 +0000)
xsl/epub/docbook.xsl

index 6b0b064d868f1f1d92333c6a73d38b1bf835cc70..bd3e3bd2898222436d501dcb6a38c5d691cbde35 100644 (file)
     </xsl:if>
 
     <xsl:if test="@align and $viewport = 0">
-      <xsl:attribute name="align">
+      <xsl:attribute name="style"><xsl:text>text-align: </xsl:text>
         <xsl:choose>
           <xsl:when test="@align = 'center'">middle</xsl:when>
           <xsl:otherwise>