zola/components/markdown/tests
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
..
snapshots Update pulldown_cmark dep to v0.10, and add pulldown_cmark_escape dep. (#2432) 2024-06-20 23:15:24 +02:00
codeblocks.rs Prevent spans crossing line boundaries in class-based code block formatter (#2237) 2023-12-18 23:24:06 +01:00
common.rs Reenable link rewriting for colocated assets 2022-06-10 20:41:24 +02:00
img.rs Add support for lazy loading images (#2211) 2023-12-18 23:24:06 +01:00
links.rs Re-organise content and remove slotmap indirection level (#1827) 2022-04-26 20:51:04 +02:00
markdown.rs Insert anchor as full heading (#1916) 2022-07-10 15:02:07 +02:00
shortcodes.rs Re-organise content and remove slotmap indirection level (#1827) 2022-04-26 20:51:04 +02:00
summary.rs Re-organise content and remove slotmap indirection level (#1827) 2022-04-26 20:51:04 +02:00
toc.rs Re-organise content and remove slotmap indirection level (#1827) 2022-04-26 20:51:04 +02:00