diff options
author | Leonard Richardson <leonardr@segfault.org> | 2021-02-14 15:34:04 -0500 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2021-02-14 15:34:04 -0500 |
commit | 7201eecc09b51df5a0fb704670aa66bcc9d8e635 (patch) | |
tree | 30dd9d9df4d81eff431a53f5c47093934b06dfd1 /CHANGELOG | |
parent | c876fbf402f15d924b7c0d9a9be5ba80769444a3 (diff) |
The 'html5' formatter now treats attributes whose values are the
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]
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -18,7 +18,13 @@ may now return a different result than calling get_text() on the tag itself. That's because different tags now have different understandings of what counts as 'text'. [bug=1906226] [bug=1868861] - + +* The 'html5' formatter now treats attributes whose values are the + 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] + * Corrected output when the namespace prefix associated with a namespaced attribute is the empty string, as opposed to None. [bug=1915583] |