quarto-dev / quarto-dev/quarto-cli
HTML format: clarify allowed output from filters
@cscheid arbeitet bereits daran.
Seit 20.7.2023.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 6k
- Forks
- 458
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 41
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.