hackmdio / hackmdio/codimd

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

Aperta
#944 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug Hacktoberfest help wanted
Lingua principale
JavaScript
Stelle
10.1k
Fork
1.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia dai punti di ingresso „Download HTML“ e „raw HTML“, quindi confronta l’head del documento generato con l’head dell’editor online collegato. Verifica che la matematica del documento collegato venga visualizzata correttamente sia nell’HTML scaricato sia nel raw HTML, inclusi i casi che attualmente non funzionano.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
frontend, web-dev
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.