[Libreoffice-commits] core.git: filter/source
Svante Schubert (via logerrit)
logerrit at kemper.freedesktop.org
Tue Mar 2 12:20:07 UTC 2021
filter/source/xslt/odf2xhtml/export/xhtml/header.xsl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 5e2e94de2c1bcbb387de51328d1777ba3b92117c
Author: Svante Schubert <svante.schubert at gmail.com>
AuthorDate: Mon Aug 24 09:27:07 2020 +0200
Commit: Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Tue Mar 2 13:19:04 2021 +0100
HTML XSLT: Neglecting redundant @type of style
Change-Id: I64d277776ba023910b6c7743c2c4f60bcc2ca4cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111606
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
index a4b50816e033..4eeb9b0b9837 100644
--- a/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
+++ b/filter/source/xslt/odf2xhtml/export/xhtml/header.xsl
@@ -77,7 +77,9 @@
<xsl:param name="globalData" />
<xsl:element name="style">
- <xsl:attribute name="type">text/css</xsl:attribute>
+ <!-- https://validator.w3.org/unicorn:
+ The “type” attribute for the “style” element is not needed and should be omitted.
+ <xsl:attribute name="type">text/css</xsl:attribute> -->
<xsl:text>
</xsl:text>
<xsl:call-template name='create-page-layout'>
More information about the Libreoffice-commits
mailing list