diff options
author | Robert Antoni Buj Gelonch <robert.buj@gmail.com> | 2015-05-14 15:49:53 +0200 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2015-05-14 16:10:12 +0000 |
commit | 445314e0bc5235b8a0c68348cd6ceed5517fc079 (patch) | |
tree | 15775655cabac54d406138c0f0733ebddcffd303 | |
parent | 1a2a094795e10f514eb421e68bbd705ea5251b76 (diff) |
odf2xhtml: tdf#66999 character '–' is not allowed in the value of attribute 'id'
Change-Id: I3c72917cf809adbb8b074cd187c50b12def1616c
Reviewed-on: https://gerrit.libreoffice.org/15731
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-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 32f0ffe7666f..a89adfc532f4 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"> |