CLI tool for stripping tags from HTML
APACHE-2.0 License
Bot releases are hidden (Show)
Published by simonw over 1 year ago
Published by simonw over 1 year ago
strip-tags -t pre
failed to keep the <pre>
tag markup.Published by simonw over 1 year ago
from strip_tags import strip_tags
. Thanks, Benjamin Kirkbride. #9
<pre>
elements will no longer have its whitespace modified by --minify
. #12
strip-tags article --first
will now return content from just the first element matching the article
selector. #13
-t/--keep-tag
can be used to specify tags that should have their markup preserved in the output. -t hs
and -t structure
and -t metadata
can be used as shortcuts to specify a bundle of tags at once. #14