diff options
Diffstat (limited to 'swext')
-rw-r--r-- | swext/mediawiki/src/filter/odt2mediawiki.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/swext/mediawiki/src/filter/odt2mediawiki.xsl b/swext/mediawiki/src/filter/odt2mediawiki.xsl index 4aada97afd75..25fa68fddca2 100644 --- a/swext/mediawiki/src/filter/odt2mediawiki.xsl +++ b/swext/mediawiki/src/filter/odt2mediawiki.xsl @@ -1431,7 +1431,7 @@ <value-of select="'}'"/> --> - <if test="$superscript and not($superscript-left)"> + <if test="$superscript and not($superscript-left) and not(boolean(ancestor::text:note))"> <text><sup></text> </if> <if test="$subscript and not($subscript-left)"> @@ -1469,7 +1469,7 @@ <if test="$subscript and not($subscript-right)"> <text></sub></text> </if> - <if test="$superscript and not($superscript-right)"> + <if test="$superscript and not($superscript-right) and not(boolean(ancestor::text:note))"> <text></sup></text> </if> |