Skip to content

0.23.0

Choose a tag to compare

@niklak niklak released this 28 Sep 08:00
· 118 commits to main since this release

Release Notes for 0.23.0 (2025-09-28) πŸš€

✨ New Features

  • Implemented Element::attr_ref method, which returns an &str reference to the attribute value by html5ever::LocalName.
  • Re-exported html5ever::LocalName and html5ever::local_name for easier access.
  • Markdown: Enhanced <pre>-block parsing by checking data-lang and data-language attributes. (by @justahero)
  • Markdown: Multiline <code> blocks are now parsed as <pre> blocks. (by @justahero)

πŸ”§ Changes

  • Revised NodeRef::find_descendants (requires mini_selector feature). This method now supports the Adjacent (+) and Sibling (~) combinators.

Examples

Changelog

Full Changelog: 0.22.0...0.23.0