diff options
author | Robert Antoni Buj Gelonch <robert.buj@gmail.com> | 2015-05-14 12:41:36 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-14 12:21:38 +0000 |
commit | 070f0abd4413102cb442bc5d3d39c1c530e8d4c6 (patch) | |
tree | f4eeb983176493e0bd20f7e663b74500c8300653 /filter | |
parent | de1977fe7df350b3354f67ab64bf81d3c1e95b22 (diff) |
odf2xhtml: #tdf66999 character '–' is not allowed in the value of attribute 'id'
Change-Id: Ieef0f28a9caa830e24349e58a0b1ff9b04c6fe56
Reviewed-on: https://gerrit.libreoffice.org/15728
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index 8a3e701e258f..6135da89dd4b 100644 --- a/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl +++ b/filter/source/xslt/odf2xhtml/export/xhtml/body.xsl @@ -1262,7 +1262,7 @@ <!-- REFERENCE HANDLING - ANCHOR --> <xsl:element namespace="{$namespace}" name="a"> <xsl:attribute name="id"> - <xsl:value-of select="translate(concat('a_',normalize-space($headingNumber), '_', normalize-space($title)), '
&<>.,;: %()[]/\+', '___________________________')"/> + <xsl:value-of select="translate(concat('a_',normalize-space($headingNumber), '_', normalize-space($title)), '
&<>–.,;: %()[]/\+', '____________________________')" disable-output-escaping="yes"/> </xsl:attribute> <xsl:element name="span"> |