diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-06-11 21:57:14 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-06-11 23:05:32 +0200 |
commit | 6a24160894e91c007d4a2f8ef193eed670909ea5 (patch) | |
tree | c9be843280b86079fb7c705ba5c36dc9b8010edf /swext | |
parent | 06bd2ca592bb9b86f45ab0aef9953636aeb645bb (diff) |
tdf#80671: mediawiki, no superscript tags allowed in footnotes
Change-Id: I54c2cc0fc6b2a9c631fc83f59c2204dd5e374d2c
Reviewed-on: https://gerrit.libreoffice.org/38666
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
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 bf186ef6723a..8812be4d282d 100644 --- a/swext/mediawiki/src/filter/odt2mediawiki.xsl +++ b/swext/mediawiki/src/filter/odt2mediawiki.xsl @@ -1438,7 +1438,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)"> @@ -1476,7 +1476,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> |