From: Andrew Sayers <andrew-libreoffice....@pileofstuff.org>

Fixes output in xsltproc
---
 filter/source/xslt/odf2xhtml/export/common/body.xsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git filter/source/xslt/odf2xhtml/export/common/body.xsl 
filter/source/xslt/odf2xhtml/export/common/body.xsl
index cfb464f..5aed262 100644
--- filter/source/xslt/odf2xhtml/export/common/body.xsl
+++ filter/source/xslt/odf2xhtml/export/common/body.xsl
@@ -360,7 +360,7 @@
                                <xsl:value-of select="concat('a_', 
translate(normalize-space($title), '.,;: %()[]/\+', '_____________'))"/>
                        </xsl:when>
                        <xsl:when test="self::draw:image[office:binary-data]">
-                               
<xsl:text>data:image/*;base64,</xsl:text><xsl:value-of 
select="office:binary-data"/>
+                               
<xsl:text>data:image/*;base64,</xsl:text><xsl:value-of select="translate( 
translate(office:binary-data, ' ', '' ), '&#10;', '' )"/>
                        </xsl:when>
                        <xsl:otherwise>
                                <xsl:choose>
-- 
1.8.5.1

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to