fn extract_html_tag( tags: &mut Vec<(String, Range<usize>)>, text: &str, range: &Range<usize>, start_pos: usize, iter: &mut Peekable<CharIndices<'_>>, f: &impl Fn(String, &Range<usize>, bool), )