Skip to content

2.2.0 - String escaping and composed_text

Compare
Choose a tag to compare
@thomasborgen thomasborgen released this 28 Jun 08:08
· 21 commits to main since this release
800b5b4

Version 2.2.0

Features

  • Escape all text by default.
  • Add composed_text property that takes a list of strings or Elements and dumps that. This can be used to render strings with inline elements like <br>, <i> or <b>. used like: composed_text=["regular", Italic(text="italic"), Bold(text="bold"), "regular"].

Internal

  • Test elements with custom dump override like Docstring and Comment for string escaping.
  • Add tests to composed_text.