[Libreoffice-commits] core.git: swext/mediawiki

Julien Nabet serval2412 at yahoo.fr
Tue Feb 11 13:42:21 PST 2014


 swext/mediawiki/src/filter/odt2mediawiki.xsl |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7da3f43e636112b30a15d29de2f419d4b82dcb38
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue Feb 11 22:39:00 2014 +0100

    Resolves: fdo#74820 Failed to recognized Heading 6-Export to MediaWiki
    
    See http://www.mediawiki.org/wiki/Help:Formatting
    
    Change-Id: I6cf50e957d3aef6bff6e86a031da175d5544e98c

diff --git a/swext/mediawiki/src/filter/odt2mediawiki.xsl b/swext/mediawiki/src/filter/odt2mediawiki.xsl
index 6a44ecd..6992249 100644
--- a/swext/mediawiki/src/filter/odt2mediawiki.xsl
+++ b/swext/mediawiki/src/filter/odt2mediawiki.xsl
@@ -296,14 +296,14 @@
 		Function generating a wiki heading prefix.
 		
 		@param level
-			The heading level. The value must be between 1 and 5.
+			The heading level. The value must be between 1 and 6.
 	-->
 	<template name="mk-heading-prefix">
 		<param name="level"/>
 		<choose>
-			<when test="$level > 5">
+			<when test="$level > 6">
 				<call-template name="mk-heading-prefix">
-					<with-param name="level" select="5"/>
+					<with-param name="level" select="6"/>
 				</call-template>
 			</when>
 			<when test="$level > 0">


More information about the Libreoffice-commits mailing list