html_editor-0.6.0 has been yanked.
HTML Editor
Pure and simple HTML parser and editor.
Examples
Parse HTML segment/document
let document: = parse?;
println!;
Output:
You can also use try_parse to parse the html which contains tolerable errors
let document: = try_parse;
Query an element / elements by selector
// let html = r#"..."#
let nodes: = parse?;
let selector: Selector = from;
let element: = nodes.query;
let elements: = nodes.query_all;
Edit the HTML
// let html = r#"..."#
let a: String = parse?.trim.html;
let b: String = parse?.insert_to.html;
let c: String = parse?.remove_by.html;
You can find more examples in the documentation.
Changelog
See in CHANGELOG.md