summaryrefslogtreecommitdiff
path: root/bs4/builder/_html5lib.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonardr@segfault.org>2021-02-14 16:53:14 -0500
committerLeonard Richardson <leonardr@segfault.org>2021-02-14 16:53:14 -0500
commit34e0ce8a9dd43ada1c55b50a156fbce63b1e2ebb (patch)
treefdeb487c1f52e32c6eb4761cd2a530a24c10b8b0 /bs4/builder/_html5lib.py
parent7201eecc09b51df5a0fb704670aa66bcc9d8e635 (diff)
NavigableString and its subclasses now implement the get_text()
method, as well as the properties .strings and .stripped_strings. These methods will either return the string itself, or nothing, so the only reason to use this is when iterating over a list of mixed Tag and NavigableString objects. [bug=1904309]
Diffstat (limited to 'bs4/builder/_html5lib.py')
0 files changed, 0 insertions, 0 deletions