fn drop_tag( tags: &mut Vec<(String, Range<usize>)>, tag_name: String, range: Range<usize>, f: &impl Fn(&str, &Range<usize>))