Kaydet (Commit) 070f0abd authored tarafından Robert Antoni Buj Gelonch's avatar Robert Antoni Buj Gelonch Kaydeden (comit) Caolán McNamara

odf2xhtml: #tdf66999 character '–' is not allowed in the value of attribute 'id'

Change-Id: Ieef0f28a9caa830e24349e58a0b1ff9b04c6fe56
Reviewed-on: https://gerrit.libreoffice.org/15728Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst de1977fe
......@@ -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)), '&#xA;&amp;&lt;&gt;.,;: %()[]/\+', '___________________________')"/>
<xsl:value-of select="translate(concat('a_',normalize-space($headingNumber), '_', normalize-space($title)), '&#xA;&amp;&lt;&gt;–.,;: %()[]/\+', '____________________________')" disable-output-escaping="yes"/>
</xsl:attribute>
<xsl:element name="span">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment