diff --git a/swext/mediawiki/src/filter/odt2mediawiki.xsl b/swext/mediawiki/src/filter/odt2mediawiki.xsl
index 64474b334ea2..1205536bac42 100644
--- a/swext/mediawiki/src/filter/odt2mediawiki.xsl
+++ b/swext/mediawiki/src/filter/odt2mediawiki.xsl
@@ -118,23 +118,26 @@
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -976,6 +979,8 @@
select="($style mod (2 * $BOLD_BIT)) != 0"/>
+
+
+
<tt>
+
+ <u>
+
'''
@@ -1044,6 +1056,9 @@
'''
+
+ </u>
+
</tt>
@@ -1255,6 +1270,8 @@
select="($style-mask mod (2 * $BOLD_BIT)) = 0"/>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1473,9 +1516,9 @@
guaranteed to be disjoint, therefore, addition can be use instead
of bitwise or (which is missing in XPath). -->
+ select="$style-set + $bold-style + $italic-style + $underline-style + $superscript-style + $subscript-style + $code-style + $typewriter-style + $center-style + $right-style"/>
+ select="$style-mask + $bold-mask + $italic-mask + $underline-mask + $superscript-mask + $subscript-mask + $code-mask + $typewriter-mask + $center-mask + $right-mask"/>