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

New commits:
commit 5e2e94de2c1bcbb387de51328d1777ba3b92117c
Author:     Svante Schubert <svante.schub...@gmail.com>
AuthorDate: Mon Aug 24 09:27:07 2020 +0200
Commit:     Michael Stahl <michael.st...@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.st...@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'>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to