html-integrations icon indicating copy to clipboard operation
html-integrations copied to clipboard

`<mfenced>` tag is deprecated

Open DrAliRagab opened this issue 1 year ago • 1 comments

mathType outputs <mfenced> tag which is deprecated and is not supported any more and is not rendered on any modern browser.

see: <mfenced>

DrAliRagab avatar Aug 10 '24 16:08 DrAliRagab

polyfill: mathml-polyfills/mfenced

DrAliRagab avatar Aug 10 '24 17:08 DrAliRagab

Hello, thank you for writing us!

The MDN article on mfenced states that the mfenced element is "deprecated". You may be wondering why we output "deprecated" MathML. This must be put into perspective: mfenced is "deprecated" inside web pages, i.e. when it's used as an HTML element.

The mfenced attribute can be found in the MathML 4 spec in section 3.3.8. However, it's missing from the MathML Core spec (and also tagged as not-core in MathML 4), which is a subset of MathML intended to be implemented by web browsers.

MathType Web uses the "full" version of MathML (MathML 3, MathML 4) and not MathML Core, therefore these deprecation warnings don't apply. MathType Web only uses MathML as an interchange format for mathematical equations, it's never inserted into the actual page.

To make it short: we're not affected by this "deprecation" warning. We're using MathML, not MathML Core, which is the one missing the mfenced element among other ones.

Any further issues, please feel free to contact us or write an email to our support team at [email protected].

carla-at-wiris avatar Aug 29 '24 08:08 carla-at-wiris