pub const fn find_tag_end(html: &str, tag_start: usize) -> usizeExpand description
Scan to the end of an HTML tag.
Skips > characters inside quoted attribute values, so an inline
data: URL in a src attribute cannot truncate the tag early.
Exported because a standalone HTML checker is where this belongs: the
host crate had grown three separate copies of it (ssg#711). Additive —
nothing existing changes shape.
Returns the index one past the closing > of the tag at tag_start.
Skips > characters inside double- or single-quoted attribute values, so
an inline SVG data: URL in a src attribute cannot truncate the tag
prematurely.