Skip to content

New rule: math-mn-not-a-number #20

Description

@TimArborealis

Suggested name: math-mn-not-a-number

Only numbers, decimal- and thousand separators are allowed in the <mn> tag. We should have a rule that checks for characters that are not allowed inside <mn>.

The validator should flag any character inside an <mn> tag which is not any of the following:

  • a number
  • a comma (,)
  • a period (.)
  • non-breaking space as a thousand separator ( )

See examples in test_issue_20.epub

@MartheGjelstad, thoughts? (created the issue with @AntonLMTM )

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions