quarto-dev / quarto-dev/quarto-cli
HTML format: clarify allowed output from filters
@cscheid ci sta già lavorando.
Dal 20/7/2023.
- Lingua principale
- JavaScript
- Stelle
- 6k
- Fork
- 458
- Merge medio
- 1g 9h
- PR unite (30g)
- 41
Descrizione
When rendering to HTML formats, if the output generated by Pandoc isn't valid HTML, then our postprocessor can get confused; quarto parses the document to make a number of DOM API calls. The consequences of invalid HTML range from nothing (the DOM parser recovers a valid structure) to corrupted output and crashing.
We should consider validating the HTML prior to running the postprocessors. This would let us give better error messages (to the effect of "something in your filters generated bad HTML"), and would allow us to make stronger statements about what we consider to be bugs in other code vs. ours.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.