html-filter 0.2.2

Crate to parse, filter, search and edit an HTML file.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::fs::read_to_string;

use html_filter::*;

use super::test_maker;

#[test]
fn index() {
    let content = read_to_string("tests/data/index.html").unwrap();
    let tree = Html::parse(&content).unwrap_or_else(|err| panic!("{err}"));
    test_maker("full", &content, tree, "");
}