Skip to main content

is_html_space

Function is_html_space 

Source
pub fn is_html_space(character: char) -> bool
Expand description

HTML “space characters”, the only characters that separate tokens in a class attribute (and other space-separated attribute values).

Notably these are ASCII-only: U+2003 EM SPACE and U+3000 IDEOGRAPHIC SPACE are not separators, they are ordinary characters inside a class name.