Sometimes an apostrophe (') is erroneously used instead of prime (′). The apostrophe carries no mathematical meaning, so it should not occur in a math context. We want a rule which checks if apostrophe (') occurs inside a <math> element at all.
The same goes for quotation mark (") instead of double prime (″). The rule should also check whether " (") occurs inside a <math> element at all.
Make an exception for <mtext>, where both apostrophe and quotationmark should be allowed.
Suggested name: math-apostrophe-quote
See examples of what the validator should flag and not in test_issue_25.epub
@MartheGjelstad, thoughts? (created together with @AntonLMTM )
Sometimes an apostrophe (') is erroneously used instead of prime (′). The apostrophe carries no mathematical meaning, so it should not occur in a math context. We want a rule which checks if apostrophe (
') occurs inside a<math>element at all.The same goes for quotation mark (") instead of double prime (″). The rule should also check whether " (
") occurs inside a<math>element at all.Make an exception for
<mtext>, where both apostrophe and quotationmark should be allowed.Suggested name: math-apostrophe-quote
See examples of what the validator should flag and not in test_issue_25.epub
@MartheGjelstad, thoughts? (created together with @AntonLMTM )