Function map_to_javascript_html::text_to_javascript_html[][src]

pub fn text_to_javascript_html(text: &str) -> String

Convert text to a JavaScript string with single quotes in HTML.