Skip to content

Keep ordinary sentence punctuation outside MathML #111

Description

@abcdsen-create

Priority: High

Description

Document
that punctuation serving an ordinary sentence function must remain outside
MathML. For example, a colon introducing a list should separate two MathML
expressions as ordinary HTML text. Inside MathML, the colon may be interpreted
as a ratio or spoken as “divided by.”

Recommended markup

<math
xmlns="http://www.w3.org/1998/Math/MathML">

<!-- first expression -->

</math>:
<math xmlns="http://www.w3.org/1998/Math/MathML">

<!-- following mathematical list -->

</math>

Acceptance criteria

  • Guidance distinguishes sentence punctuation from mathematical operators.
  • A colon introducing a list is shown outside MathML.
  • Guidance warns that placing an isolated colon in <mtext> may not reliably prevent mathematical interpretation.
  • The example is verified with the supported text-to-speech pipeline.

Activity

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