[Libreoffice-commits] .: filter/source
Noel Power
noelp at kemper.freedesktop.org
Tue Aug 9 08:25:10 PDT 2011
filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 2eb2e571abdbfe143ba738a0dec0a4b73de7827c
Author: Christophe Strobbe <christophe.strobbe at esat.kuleuven.be>
Date: Tue Aug 9 16:07:49 2011 +0100
fix fdo#39561
make html & xhtml consistent in treatment of svg:title -> image:alt tag
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
index d56955e..a4ed3c0 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
@@ -1512,13 +1512,13 @@
</xsl:if>
<xsl:attribute name="alt">
<xsl:choose>
- <xsl:when test="../svg:desc">
- <xsl:value-of select="../svg:desc"/>
+ <xsl:when test="../svg:title">
+ <xsl:value-of select="../svg:title"/>
</xsl:when>
<xsl:otherwise>
<xsl:message>
Accessibility Warning:
- No alternate text ('svg:desc' element) set for
+ No alternate text ('svg:title' element) set for
image '
<xsl:value-of select="@xlink:href"/>'!
</xsl:message>
More information about the Libreoffice-commits
mailing list