Module charsets

Module charsets 

Source
Expand description

Defines syntactical properties of HTML tags, attributes, and text.

Functionsยง

is_valid_in_attribute_name
Check whether a character is valid in an attribute name.
is_valid_in_attribute_value
Check whether a character can be an used in an attribute value without escaping.
is_valid_in_normal_element_text
Check whether a character can be an used in normal text without escaping.
is_valid_in_tag_name
Check whether a character is in a tag name.
is_w3c_text_char
Check if something is valid text in HTML.