Skip to main content

is_html

Function is_html 

Source
pub fn is_html(html: &str) -> bool
Expand description

Check if content is valid HTML

§Arguments

  • html - The content to check

§Returns

True if the content appears to be valid HTML