Skip to main content

Module html_tags

Module html_tags 

Source
Expand description

Detects invalid HTML (like an unclosed <span>) in doc comments.

Structsยง

TagParser ๐Ÿ”’
Parse html tags to ensure they are well-formed

Constantsยง

ALLOWED_UNCLOSED ๐Ÿ”’
These tags are interpreted as self-closing if they lack an explicit closing tag.

Functionsยง

extract_path_backwards ๐Ÿ”’
extract_path_forward ๐Ÿ”’
is_implicitly_self_closing ๐Ÿ”’
Allows constructs like <img>, but not <img.
is_valid_for_html_tag_name ๐Ÿ”’
visit_item ๐Ÿ”’