diff options
author | Leonard Richardson <leonardr@segfault.org> | 2023-03-24 14:52:35 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2023-03-24 14:52:35 -0400 |
commit | 8944fe70574914cabfc9e6fb6eb048d71be39fb1 (patch) | |
tree | e3f7cda44701144f59fbcbc702d27085363350bd /bs4/__init__.py | |
parent | 347cefbe76cc70bd99dc6b5f0274189cdb94bbb9 (diff) | |
parent | f834cd013865febdff3952b01bdd09b406c8ca66 (diff) |
Merge branch 'remove-recursion-on-output'
Diffstat (limited to 'bs4/__init__.py')
-rw-r--r-- | bs4/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bs4/__init__.py b/bs4/__init__.py index 9a76a15..5e1bebe 100644 --- a/bs4/__init__.py +++ b/bs4/__init__.py @@ -15,7 +15,7 @@ documentation: http://www.crummy.com/software/BeautifulSoup/bs4/doc/ """ __author__ = "Leonard Richardson (leonardr@segfault.org)" -__version__ = "4.12.0" +__version__ = "4.12.1" __copyright__ = "Copyright (c) 2004-2023 Leonard Richardson" # Use of this source code is governed by the MIT license. __license__ = "MIT" @@ -469,6 +469,7 @@ class BeautifulSoup(Tag): self.open_tag_counter = Counter() self.preserve_whitespace_tag_stack = [] self.string_container_stack = [] + self._most_recent_element = None self.pushTag(self) def new_tag(self, name, namespace=None, nsprefix=None, attrs={}, |