[Libreoffice-commits] core.git: filter/source

Gian Domenico Ceccarini gdceccarini at gmail.com
Sun Jan 15 18:46:17 UTC 2017


 filter/source/xslt/odf2xhtml/export/xhtml/header.xsl |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e8826d0d534a355f9a477eb2393bca1658cb4113
Author: Gian Domenico Ceccarini <gdceccarini at gmail.com>
Date:   Fri Jan 13 08:52:18 2017 +0100

    replace xsl:comment with /*
    
    Change-Id: Ieeebda1fdd1db7dd9a08c7393788bac2509ab637
    Reviewed-on: https://gerrit.libreoffice.org/33020
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
index 00d9049..46e66ff 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
@@ -97,7 +97,7 @@
 	</xsl:text>
 <xsl:text>li { list-style: none; margin:0; padding:0;}
 	</xsl:text>
-<xsl:comment> "li span.odfLiEnd" - IE 7 issue</xsl:comment>
+<xsl:text>/* "li span.odfLiEnd" - IE 7 issue*/</xsl:text>
 <xsl:text>
 	</xsl:text>
 <xsl:text>li span. { clear: both; line-height:0; width:0; height:0; margin:0; padding:0; }
@@ -127,7 +127,7 @@
 
 			</xsl:for-each>
 			<!-- Otherwise all styles have been processed and the empty styles have to be given out -->
-				<xsl:comment> ODF styles with no properties representable as CSS </xsl:comment><xsl:text>
+				<xsl:text>/* ODF styles with no properties representable as CSS */</xsl:text><xsl:text>
 	</xsl:text><xsl:for-each select="$globalData/all-styles/style[final-properties = '']"><xsl:value-of select="concat('.', @style:name, ' ')"/></xsl:for-each> { }
 	</xsl:template>
 


More information about the Libreoffice-commits mailing list