summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorSvante Schubert <svante.schubert@gmail.com>2020-08-24 09:27:07 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2021-03-02 13:19:04 +0100
commit5e2e94de2c1bcbb387de51328d1777ba3b92117c (patch)
tree7c016c77d651ae9e752e38b7cb3fd74afaf98b95 /filter
parent36c3db0ab81187830adf2443dd6b9d8efef6faee (diff)
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@allotropia.de>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xslt/odf2xhtml/export/xhtml/header.xsl4
1 files changed, 3 insertions, 1 deletions
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'>