Skip to content

text-anchor prevents MathML interpretation #3295

Open
@ozross

Description

@ozross

Not sure whether this is a bug-report, feature-request, or whether I've failed to find configuration options that handle the situation correctly.

MathJax fails to process this part of a MathML block, containing an HTML <a href=".."> tag, which is otherwise handled correctly in modern browsers.

              <mtext> 
                <a xmlns="http://www.w3.org/1999/xhtml" href="#Sect.1">1</a>
              </mtext>
Screenshot 2024-10-12 at 9 05 26 am

Please see this GitHub site for a fuller discussion.
Scroll to the bottom to find images of both with and w/o using MathJax.

Conceptually this is about presenting mathematical content containing text snippets, particularly with hyperlinks and/or other HTML markup, within <mtext> content of a MathML block.
It may require deeper analysis than just what is shown in this example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Code ExampleContains an illustrative code example, solution, or work-aroundExpected BehaviorThis is how MathJax worksv3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions