Module text

Source

Modulesยง

imp ๐Ÿ”’
inline_html ๐Ÿ”’
Helpers for making Pango-compatible strings from inline HTML.
widgets ๐Ÿ”’
Build HTML messages.

Structsยง

MessageText
A widget displaying the content of a text message.

Constantsยง

SUPPORTED_BLOCK_ELEMENTS ๐Ÿ”’
All supported block elements from the Matrix spec.
SUPPORTED_INLINE_ELEMENTS ๐Ÿ”’
All supported inline elements from the Matrix spec.

Staticsยง

HTML_MESSAGE_SANITIZER_CONFIG ๐Ÿ”’
HTML sanitizer config for HTML messages.

Functionsยง

formatted_body_is_html ๐Ÿ”’
Whether the given FormattedBody contains HTML.