[][src]Crate htmlize

Modules

test_helpers

Macros

bench_func
test_multiple

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_attribute

Escape a string used in quoted attribute.

escape_quotes

Escape a string including both apostrophes and double quotes.

escape_text

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

unescape

Expand all valid entities