[][src]Crate htmlize

Constants

ENTITY_MAX_LENGTH

Length of longest entity including & and possibly ;

ENTITY_MIN_LENGTH

Length of shortest entity including & and possibly ;

REPLACEMENT_CHAR

Unicode replacement character (U+FFFD �)

Statics

ENTITIES

All valid HTML entities and their expansions as (b"©", b"©") tuples.

Functions

escape_all_quotes

Escape a string including both single and double quotes.

escape_attribute

Escape a string used in a quoted attribute.

escape_text

Escape a string used in a text node, i.e. regular text.

unescape

Expand all valid entities