Docs.rs
html-cleaning-0.3.0
html-cleaning 0.3.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
Murrough-Foley
Dependencies
dom_query ^0.24
normal
regex ^1.11
normal
optional
thiserror ^2.0
normal
url ^2.5
normal
optional
pretty_assertions ^1.4
dev
Versions
100%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
remove
html_
cleaning
0.3.0
remove
Sections
Arguments
In html_
cleaning::
tree
html_cleaning
::
tree
Function
remove
Copy item path
Source
pub fn remove(sel: &
Selection
<'_>, keep_tail:
bool
)
Expand description
Remove element from tree.
ยง
Arguments
sel
- Element to remove
keep_tail
- If true, preserve tail text