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