pub fn text_to_javascript_html<S: AsRef<str>>(text: S) -> String
Convert text to a JavaScript string with single quotes in HTML.