Kaydet (Commit) 6a241608 authored tarafından Julien Nabet's avatar Julien Nabet

tdf#80671: mediawiki, no superscript tags allowed in footnotes

Change-Id: I54c2cc0fc6b2a9c631fc83f59c2204dd5e374d2c
Reviewed-on: https://gerrit.libreoffice.org/38666Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 06bd2ca5
...@@ -1438,7 +1438,7 @@ ...@@ -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 @@ ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment