Skip to content

24.10.0

Compare
Choose a tag to compare
@pelme pelme released this 24 Oct 19:13
· 11 commits to main since this release
  • Implement Element.__html__. This avoids double escaping when passed to markupsafe.escape and Django's django.utils.html.conditional_escape. PR #65.
  • Raise errors directly on invalid children. This avoids cryptic stack traces. PR #56.
  • Raise TypeError rather than ValueError when invalid types are passed as attributes or children. PR #59.