Crate htmlescape [] [src]

Structs

DecodeErr

Error from decoding a entity-encoded string.

Enums

DecodeErrKind

Functions

decode_html

Decodes an entity-encoded string.

decode_html_ignoring_errors

Decodes an entity-encoded string.

decode_html_rw

Decodes an entity-encoded string from a reader to a writer.

decode_html_rw_ignoring_errors

Decodes an entity-encoded string from a reader to a writer ignoring errors. Properly written and recognised entities will be decoded, any partial or unknown ones will be left intact.

encode_attribute

HTML entity-encodes a string for use in attributes values.

encode_attribute_w

HTML entity-encodes a string, for use in attributes values, to a writer.

encode_minimal

HTML entity-encode a string.

encode_minimal_w

HTML entity-encode a string to a writer.