[][src]Function rocket_auth_login::sanitization::filter_non_characters_html

pub fn filter_non_characters_html(string: &str) -> String

Filters out separators, control codes, unicode surrogates, and a few others as well as single/double quotes, backslashes, and angular braces

Similar to filter_non_characters() execpt it keeps angular braces. This is to allow text (that could contain html) to be displayed anywhere on a page safely when combined with the encode_minimal function of the htmlescape crate.