Skip to main content

inject_before

Function inject_before 

Source
pub fn inject_before(html: &str, needle: &str, fragment: &str) -> Option<String>
Expand description

Insert fragment immediately before the first case-insensitive needle.