diff options
author | Leonard Richardson <leonardr@segfault.org> | 2019-07-21 15:50:49 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2019-07-21 15:50:49 -0400 |
commit | 41c2b7c056e73c63c872eeb0a5e3a1f65473eaf0 (patch) | |
tree | 514f0a3ccd449c74d847917471ec6c09642e1318 /CHANGELOG | |
parent | b2294f4f05d9e8583613560986f8aa64b18866b9 (diff) |
Implemented line number tracking for html5lib.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,9 +1,10 @@ -= Unreleased += 4.8.1 (Unreleased) -* When the html.parser is in use, Beautiful Soup will, by default, - record the position in the original document where each tag was - encountered. This includes line number (Tag.lineno) and position - within a line (Tag.position). Based on code by Chris Mayo. +* When the html.parser or html5lib parsers are in use, Beautiful Soup + will, by default, record the position in the original document where + each tag was encountered. This includes line number (Tag.sourceline) + and position within a line (Tag.sourcepos). Based on code by Chris + Mayo. = 4.8.0 (20190720, "One Small Soup") |