diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-06-04 17:29:51 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-06-04 20:04:09 +0200 |
commit | 452bf1359dab3cfab9fd6007d68592e9c96382b3 (patch) | |
tree | e795127697bf6962aaadff42eeab1e9ccdc15a20 /filter | |
parent | 720438d2c43ee676af9002b92f97d650f45184e7 (diff) |
tdf#142483 filter: xhtml: fix substitution of fo:border attribute
This worked with Saxon but not with libxslt.
(regression from 9d3b39cf9fed9a305ac23d1ecaaafc8f7caaeeb0)
Change-Id: I18e66e6136e4fc73718bbe9c7c4c66fb76be31c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116728
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/xslt/odf2xhtml/export/common/styles/style_collector.xsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/common/styles/style_collector.xsl b/filter/source/xslt/odf2xhtml/export/common/styles/style_collector.xsl index 389be7da5638..bac0c5963ccd 100644 --- a/filter/source/xslt/odf2xhtml/export/common/styles/style_collector.xsl +++ b/filter/source/xslt/odf2xhtml/export/common/styles/style_collector.xsl @@ -516,10 +516,10 @@ <!-- split border into border parts for better activation-check on style:joint-border feature --> <xsl:if test="*/@fo:border"> - <xsl:attribute name="fo:border-top" select="*/@fo:border" /> - <xsl:attribute name="fo:border-left" select="*/@fo:border" /> - <xsl:attribute name="fo:border-bottom" select="*/@fo:border" /> - <xsl:attribute name="fo:border-right" select="*/@fo:border" /> + <xsl:attribute name="fo:border-top"><xsl:value-of select="*/@fo:border"/></xsl:attribute> + <xsl:attribute name="fo:border-left"><xsl:value-of select="*/@fo:border"/></xsl:attribute> + <xsl:attribute name="fo:border-bottom"><xsl:value-of select="*/@fo:border"/></xsl:attribute> + <xsl:attribute name="fo:border-right"><xsl:value-of select="*/@fo:border"/></xsl:attribute> </xsl:if> <!--All current attributes will override already inserted attributes of the same name |