Skip to main content

parse_attribute_selector

Function parse_attribute_selector 

Source
pub fn parse_attribute_selector(input: &str) -> Option<CssAttributeSelector>
Expand description

Parses the inner content of an attribute selector token (the text between [ and ]).

Returns None if the input is malformed (empty name, unterminated quote, etc).