summaryrefslogtreecommitdiff
path: root/bs4/tests/test_formatter.py
AgeCommit message (Collapse)Author
2021-09-07Goodbye, Python 2. [bug=1942919]Leonard Richardson
2021-02-14The 'html5' formatter now treats attributes whose values are theLeonard Richardson
empty string as HTML boolean attributes. Previously (and in other formatters), an attribute value must be set as None to be treated as a boolean attribute. In a future release, I plan to also give this behavior to the 'html' formatter. Patch by Isaac Muse. [bug=1915424]