[Libreoffice-commits] core.git: swext/mediawiki
Robert Antoni Buj Gelonch
robert.buj at gmail.com
Tue May 19 00:31:00 PDT 2015
swext/mediawiki/src/filter/odt2mediawiki.xsl | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 6c3e4b8e5430a80678bd5a77b781a2218be349a1
Author: Robert Antoni Buj Gelonch <robert.buj at gmail.com>
Date: Tue May 19 08:50:37 2015 +0200
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 at redhat.com>
Reviewed-by: David Tardon <dtardon at redhat.com>
diff --git a/swext/mediawiki/src/filter/odt2mediawiki.xsl b/swext/mediawiki/src/filter/odt2mediawiki.xsl
index f0a9f12..d599749 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>
More information about the Libreoffice-commits
mailing list