Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

v0.1.1

Choose a tag to compare

@davepeck davepeck released this 08 Sep 16:24
· 14 commits to main since this release

This is most definitely a pre-alpha package. Use it at your own risk!

In this release, I've also cleaned up how we build on top of MarkupSafe and how we handle interpolation values with an __html__() dunder. This allows for clean interoperability with the Django and Jinja2 worlds; for instance, you could define a component function that returns a rendered Django or Jinja2 template, and the html() processor would correctly treat that as "safe" content to render as-is.

In addition to the :safe format specifier, we now also support an explicit :unsafe format specifier; see the README.