summaryrefslogtreecommitdiff
path: root/filter/source/xslt/odf2xhtml/export/common/body.xsl
diff options
context:
space:
mode:
authorPeter Jentsch <pjotr@guineapics.de>2012-11-28 00:33:01 +0100
committerPeter Jentsch <pjotr@guineapics.de>2012-11-28 00:33:01 +0100
commitb75e9576bfaf9f95532f2a9d6917cffbf37a57e0 (patch)
treee3bc32a9bd891a86b7b43518bdf30a40fee1d936 /filter/source/xslt/odf2xhtml/export/common/body.xsl
parent9a00c7fd817508ad02901fa374dc63b63b535f96 (diff)
fix fdo#40097 - Cross-references and TOC links broken in XHTML export
Change-Id: I90bd2a8d5f788350f8f2bc8c443776e6598624b4
Diffstat (limited to 'filter/source/xslt/odf2xhtml/export/common/body.xsl')
-rw-r--r--filter/source/xslt/odf2xhtml/export/common/body.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/xslt/odf2xhtml/export/common/body.xsl b/filter/source/xslt/odf2xhtml/export/common/body.xsl
index 895bb41caf1c..37a8afa02b5f 100644
--- a/filter/source/xslt/odf2xhtml/export/common/body.xsl
+++ b/filter/source/xslt/odf2xhtml/export/common/body.xsl
@@ -317,7 +317,7 @@
<xsl:choose>
<!-- internal OOo URL used in content tables -->
- <xsl:when test="contains($href, '%7Coutline')">
+ <xsl:when test="contains($href, '%7Coutline') or contains($href, '|outline')">
<!-- the simple workaround for content tables in a single document is to create create an anchor from every heading element
work-around downside: Multiple identical headings won't refer always to the first.
-->