Skip to main content

fn.inject_csp

pub fn inject_csp<H>(html: H, csp: &str) -> String where
    H: Into<Tendril<UTF8, NonAtomic>>, 

Injects a content security policy to the HTML.