[−][src]Function html_validation::is_self_closing
pub fn is_self_closing(tag: &str) -> bool
Whether or not this tag is self closing
use html_validation::is_self_closing; assert_eq!(is_self_closing("br"), true); assert_eq!(is_self_closing("div"), false);