NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #406 most downloaded on pub.dev
Function for sanitizing HTML to prevent XSS by restrict elements and attributes to a safe subset of allowed values.
Last release 3 months ago
07 Jul 2026
Release timing varies
gaps range from 5 weeks to 2.8 years
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
9 releases · first in 2019
Allow the <picture> and <source> elements, with srcset on <source> , matching the html-pipeline allowlist this package is modeled on. Enables theme-aw
<picture> and <source> elements, with srcset on <source>, matching the html-pipeline allowlist this package is modeled on. Enables theme-aware images via <picture> with prefers-color-scheme.<picture> and <source> elements, with srcset on <source>,
matching the html-pipeline allowlist
this package is modeled on. Enables theme-aware images via <picture> with
prefers-color-scheme.One column per quarter.
Remove custom HTML rendering logic in favor of logic from package:html.
package:html.topics to pubspec.yaml.rel attributes added through addLinkRel are appended to existing ones.* Migrate to null safety.
Make addLinkRel optional. Issue.
addLinkRel optional. Issue.Added addLinkRel option to sanitize_html. This will allow users to qualify outbound links which may help prevent comment spam.
addLinkRel option to sanitize_html. This will allow users to
qualify outbound links
which may help prevent comment spam.Only print self-closing tags for void-elements. This could cause in HTML documents, which is can be interpreted as an opening tag by HTML5 parsers, ca
<strong /> in HTML documents, which is can be interpreted
as an opening tag by HTML5 parsers, causing the HTML structure to break.Does not depend on universal_html, uses custom HTML rendering for the output.
universal_html, uses custom HTML rendering for the output.Add options allowElementId and allowClassName to allow specific element ids and class names.
allowElementId and allowClassName to allow specific element
ids and class names.* Initial release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →