Regression: number + `′` with an author intent becomes a superscript

Offen
#960 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust
Bereich
accessibility

Rechercherichtung

Start by tracing the MathML handling that converts 30′ into msup and check where the operator's intent is read. Reproduce the regression with the supplied MathML and compare the output with the 0.7.7 behavior. Done means an operator with intent is left alone and the result is read as “37 degrees 30 minutes.”

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

37°30′ from spanish-mathml-intent (\spang{37:30}):

<math><mn>37</mn><mi intent=":unit">°</mi><mrow arg="m" intent="_minutes:postfix($m)"><mn>30</mn><mo intent="minutes">′</mo></mrow></math>
  • 0.7.7: 37 degrees 30 minutes
  • main: 37 degrees 30 superscript minutes

main turns 30′ into msup before reading the intent. When the prime has an intent, it should be left alone.

Vorherrschende Sprache
Rust
Sterne
131
Forks
97
Ø Merge
21 Std. 45 Min.
Gemergte PRs (30 T.)
95

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus daisy/MathCAT

Alle Issues in daisy/MathCAT

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.