hackmdio / hackmdio/codimd

Download as HTML and raw HTML doesn't display Math correctly anymore

Offen
#944 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug Hacktoberfest help wanted
Vorherrschende Sprache
JavaScript
Sterne
10.1k
Forks
1.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The following document contains some math which is nicely displayed in the editor but when downloading as html the math becomes ugly and some things completely fail.

https://hackmd-ce.herokuapp.com/dRNM0WorQHuJCoFgm76iOQ

This is a regression that occurred both on hackmd.io and in codimd. Back in March when I wrote that document on hackmd.io the downloaded html displayed fine. Yet the exact same html that I downloaded in March doesn't render properly anymore now.

Edit: When I copy the head from the HTML of the online editor the math displays correctly again. So I guess it would be just a matter of updating the head used for the "Download HTML" function.

@jackycute You are working on hackmd.io, right? Maybe you could fix it there too? :P Btw, do you have a separate bug tracker for hackmd.io ?

Edit 2: https://github.com/hackmdio/codimd/issues/885 (inlining the resources) might have prevented the regression.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie bei den Einstiegspunkten „Download HTML“ und „raw HTML“ und vergleichen Sie dann den Kopf des generierten Dokuments mit dem Kopf des verknüpften Online-Editors. Überprüfen Sie, ob die Mathematik des verknüpften Dokuments sowohl im heruntergeladenen als auch im raw HTML korrekt gerendert wird, einschließlich der Fälle, die derzeit fehlschlagen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
frontend, web-dev
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

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