mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-11 16:58:38 +00:00
Removed the ⁡ MathML entity. This entity doesn't
survive sanitizing. It can be rendered by the corresponding unicode character, but this doesn't display correctly without the proper fonts installed.
This commit is contained in:
parent
e9f24f5264
commit
a7dc3ef012
|
@ -18,7 +18,7 @@ let render_mathml_tree = function
|
|||
TREE_MN s -> "<mn>"^s^"</mn>"
|
||||
| TREE_MI s -> "<mi>"^s^"</mi>"
|
||||
| TREE_MO s -> "<mo>"^s^"</mo>"
|
||||
| TREE_MF s -> "<mi>"^s^"</mi><mo>⁡</mo>"
|
||||
| TREE_MFB (s,b) -> "<mi>"^s^"</mi><mo>⁡</mo>"^"<mo>"^b^"</mo>"
|
||||
| TREE_MF s -> "<mi>"^s^" </mi>"
|
||||
| TREE_MFB (s,b) -> "<mi>"^s^"</mi>"^"<mo>"^b^"</mo>"
|
||||
|
||||
let render tree = try Some (Util.mapjoin render_mathml_tree (make_mathml_tree ([],tree))) with _ -> None
|
||||
|
|
Loading…
Reference in a new issue