diff options
author | Robert Antoni Buj Gelonch <robert.buj@gmail.com> | 2015-05-19 08:50:37 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-05-19 07:30:36 +0000 |
commit | 6c3e4b8e5430a80678bd5a77b781a2218be349a1 (patch) | |
tree | 9f87bc3b8ccc0e5d44a00163d6cfee96623a6b42 /swext | |
parent | 685e30c3bdd010d09ac585bd621dd17149e5cb77 (diff) |
odt2mediawiki.xsl: hide table of contents if there is a customized toc
Change-Id: I3be7f0929db94658ac1eabb0996364f53b52034c
Reviewed-on: https://gerrit.libreoffice.org/15795
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'swext')
-rw-r--r-- | swext/mediawiki/src/filter/odt2mediawiki.xsl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/swext/mediawiki/src/filter/odt2mediawiki.xsl b/swext/mediawiki/src/filter/odt2mediawiki.xsl index f0a9f121b602..d5997497821b 100644 --- a/swext/mediawiki/src/filter/odt2mediawiki.xsl +++ b/swext/mediawiki/src/filter/odt2mediawiki.xsl @@ -296,6 +296,8 @@ </template> <template match="text:index-title"> + <text>__NOTOC__</text> + <value-of select="$NL"/> <text>== </text> <apply-templates/> <text> ==</text> |