process_html_elements

Function process_html_elements 

Source
pub fn process_html_elements<F>(
    html: &str,
    regex: &Regex,
    transform: F,
) -> String
where F: Fn(&Captures<'_>) -> String,
Expand description

Apply a regex transformation to HTML elements using the provided function. Used by the markdown processor for HTML element transformations.