Skip to content

\operatorname is not being serialized correctly to MathML #1648

@corlick98

Description

@corlick98

Description

When serializing an expression including \operatorname to Mathml we are losing information.
For example:
latex: \operatorname{cm}
mathml: <mo>&#x2061;</mo>

Actual Behavior

Instead of serializing the \operatorname to a mathml element we instead only get a Function Application character.

Expected Behavior

Based on

? '<mi class="MathML-Unit"' +
I would expect to get something similar to <mi>cm</mi>.

Environment

MathLive version 0.81.0

Operating System [macOS, Windows, iOS. Include the version]
Ubuntu 22.04.1 LTS and Firefox 105.0.1 (64-bit)
also tested on
Windows 10 and Firefox 104.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions