Docusaurus equations smoke test still skipped; pandoc 3.12.1 reintroduced single-line display math
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 46/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- javascript, markdown
Rechercherichtung
Read tests/docs/smoke-all/2024/01/18/docusaurus/equations.qmd and its existing skip message, then compare the expected multiline $$ output in equations.mdx.snapshot with the behavior described for Pandoc 3.12.1 and later. Update the skip message to reference jgm/pandoc#12082; when a bundled Pandoc release fixes the regression, re-enable the smoke test and confirm the snapshot matches, or regenerate it if upstream keeps the single-line output.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
The docusaurus equations smoke test (tests/docs/smoke-all/2024/01/18/docusaurus/equations.qmd) has been skipped since 5fcbb59c (2026-01-08) with the note "fixed in pandoc@8123be6, awaiting release". That fix shipped in Pandoc 3.9, but the test was never re-enabled — and Pandoc 3.12.1 (now bundled as 3.13 via #15320) has reintroduced the same single-line display-math output that caused the breakage, this time on the reader side.
Details
- Original episode: Pandoc 3.7 collapsed multi-line
$$…$$to a single line in Markdown output (writer side). Reported in jgm/pandoc#11384, fixed in Pandoc 3.9 (jgm/pandoc@8123be65). We skipped the equations test in the meantime (5fcbb59c). - Regression: Pandoc 3.12.1 (3.12.0 unaffected) — jgm/pandoc@c248f880 ("Math: respect TeX groups and comments", jgm/pandoc#11887) unified display math into
mathWith, which appliestrimMathand strips the surrounding newlines the reader previously preserved. Undocumented in the changelog; still present in 3.13 and 3.14. - Already reported upstream: jgm/pandoc#12082. Maintainers agree it is a regression; a reader-side fix restoring verbatim whitespace capture for display math is the likely resolution.
So: re-enabling the test today would fail exactly as it did under Pandoc 3.7, and the skip message is stale ("awaiting release" — the referenced fix was released and later regressed).
Action items
- Update the
skipmessage intests/docs/smoke-all/2024/01/18/docusaurus/equations.qmdto reference jgm/pandoc#12082. - Once a pandoc release with the reader-side fix is bundled: un-skip the test; the existing
equations.mdx.snapshot(multi-line$$) should match as-is. - If upstream instead declares the trim intentional: regenerate the snapshot for the single-line form and re-enable the test.
Related
- jgm/pandoc#12082 — upstream regression report
- jgm/pandoc#11384 — original (3.7, writer-side) report
- #15320 — bundled Pandoc 3.10 → 3.13
- #13853 — docusaurus
html-math-method: webtexignored (math emitted as$$..$$), which is why this output path matters - quarto-dev/quarto VS Code extension roundtrip snapshots hit the same change (failing job; precedent quarto-dev/quarto#1062)
- Vorherrschende Sprache
- JavaScript
- Sterne
- 6.2k
- Forks
- 492
- Ø Merge
- 15 Std. 15 Min.
- Gemergte PRs (30 T.)
- 94
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus quarto-dev/quarto-cli
-
bootstrap enhancement themes
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
quarto-dev/quarto-cli#15421 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 85/100
quarto-dev/quarto-cli#15408 ·
Maintainer antworten meist innerhalb von 1 Tag
-
accessibility bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
quarto-dev/quarto-cli#15401 · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug callouts docx regression
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 81/100
quarto-dev/quarto-cli#15394 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug lightbox
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
quarto-dev/quarto-cli#15393 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in quarto-dev/quarto-cli
Ähnliche Issues
-
bug help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
LangerSword/gitone#7 ·
-
good first issue reliability security should-have
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 13 Tagen
-
[BUG]: chunkSource protocol stripping truncates URLs or reads an inner schemeEvtl. vergeben @Bensonbenyi hat das heute übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
Mintplex-Labs/anything-llm#7338 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag