swext/mediawiki/src/filter/odt2mediawiki.xsl |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 6c3e4b8e5430a80678bd5a77b781a2218be349a1
Author: Robert Antoni Buj Gelonch <robert....@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 <dtar...@redhat.com>
    Reviewed-by: David Tardon <dtar...@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>
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to