Skip to content

0.4

Compare
Choose a tag to compare
@simonw simonw released this 18 Jun 08:08
· 18 commits to main since this release
  • This package can now be used as a Python library: from strip_tags import strip_tags. Thanks, Benjamin Kirkbride. #9
  • Text inside <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