Skip to content

Format math preview is not recognizing square brackets inside square roots #1693

Open

Description

@lnatal2

While working on the project https://www.pgdp.net/c/project.php?id=projectID448fe0c8b5e31, Format math preview is not recognizing expressions such as \(\sqrt[3]{-125x^{3}y^{6}}\) which uses squared brackets inside square roots. Since this is a math textbook which is currently being formatted as a MathJax file (using m2svg), I wonder if the referred issued could be fixed in some way. There is a whole chapter which uses \sqrt[n]{x}.

Activity

  1. cpeel commented on Oct 20, 2026

    @cpeel
    Member

    Does m2svg render it correctly? I'm assuming it doesn't as they both use the same version of MathJax.

  2. lnatal2 commented on Oct 20, 2026

    @lnatal2
    Author

    Yes, it does. According to Ray, DP Format is considering the square brackets as footnote’s anchor.

  3. mrducky4 commented on Oct 25, 2026

    @mrducky4
    Collaborator

    I submitted a fix in PR #1698

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions