[][src]Function mdbook::utils::normalize_id

pub fn normalize_id(content: &str) -> String

Convert the given string to a valid HTML element ID. The only restriction is that the ID must not contain any ASCII whitespace.