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>
This commit is contained in:
Julien Nabet 2017-06-11 21:57:14 +02:00
parent 06bd2ca592
commit 6a24160894

View File

@ -1438,7 +1438,7 @@
<value-of select="'}'"/> <value-of select="'}'"/>
--> -->
<if test="$superscript and not($superscript-left)"> <if test="$superscript and not($superscript-left) and not(boolean(ancestor::text:note))">
<text>&lt;sup&gt;</text> <text>&lt;sup&gt;</text>
</if> </if>
<if test="$subscript and not($subscript-left)"> <if test="$subscript and not($subscript-left)">
@ -1476,7 +1476,7 @@
<if test="$subscript and not($subscript-right)"> <if test="$subscript and not($subscript-right)">
<text>&lt;/sub&gt;</text> <text>&lt;/sub&gt;</text>
</if> </if>
<if test="$superscript and not($superscript-right)"> <if test="$superscript and not($superscript-right) and not(boolean(ancestor::text:note))">
<text>&lt;/sup&gt;</text> <text>&lt;/sup&gt;</text>
</if> </if>