zola/components/markdown
Timon Van Overveldt 13682e1342 Update pulldown_cmark dep to v0.10, and add pulldown_cmark_escape dep. (#2432)
The pulldown_cmark escaping functionality is now shipped in a separate
pulldown_cmark_escape crate
(https://crates.io/crates/pulldown-cmark-escape), starting with v0.10.0.

The markdown.rs module has to be adapted to a few API changes in
pulldown_cmark, and we have to introduce explicit handling of <img> alt
text to ensure it continues to be properly escaped.

There are also a few other behavior changes that are caught by the
tests, but these actually seem to be desired, so I've updated the insta
snapshot files for those tests to incorporate those changes.
Specifically, one footnote-parsing case seems to be handled better now,
and pulldown-cmark's `push_html` now doesn't escape quotes in text nodes
anymore (see https://github.com/pulldown-cmark/pulldown-cmark/pull/836).
2024-06-20 23:15:24 +02:00
..
benches Allow taxonomies to not be rendered 2022-04-27 21:11:42 +02:00
src Update pulldown_cmark dep to v0.10, and add pulldown_cmark_escape dep. (#2432) 2024-06-20 23:15:24 +02:00
tests Update pulldown_cmark dep to v0.10, and add pulldown_cmark_escape dep. (#2432) 2024-06-20 23:15:24 +02:00
Cargo.toml add link_checker settings for external_level and internal_level (#1848) 2022-05-11 21:54:34 +02:00