Skip to content

3.0.12

Choose a tag to compare

@Bystroushaak Bystroushaak released this 09 Mar 02:35
· 6 commits to master since this release

Latest version with a lot of bugfixes compared to the version 3.0.0:

  • Added conditional escape parameter to .content_str() method.
  • Fixed parent problem with .__deepcopy__().
  • Implemented proper .__copy__() and .__deepcopy__() methods.
  • Fixed the way how the quotes are escaped in the tag parameters.
  • Fixed behavior of the .__hash__() method for nested tags.
  • Don't escape <script> and <style> content's.
  • Fixed behavior of .match() method.
  • Added new method .match_paths().
  • Added tests.
  • Bugfix; SpecialDict.copy() didn't return any value.
  • Bugfix; Don't search empty tags.
  • Bugfix; Always return container element for small doms with only strings inside.
  • Added .__hash__() method for Tag.
  • .replace_with() method now accepts str as well as Tag.
  • Fixed problems with .parent setting for non-pair tags in the parser.
  • Added bunch of tests to test newly added stuff.
  • Added .__contains__() method for Tag, so you can now test parameters using in operator.