Line length for lines with non-ascii characters are not computed correctly
Bug #1384463 reported by
Alex Gaynor
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
doc8 |
Fix Released
|
High
|
Joshua Harlow |
Bug Description
Consider this line:
known exploit in the wild, for example – the time between advance notification
visibly it is below the line length limit, however the "dash" character is a non-ascii unicode character which occupies 3 utf-8 bytes. doc8 complains about this line; apparently because it is counting bytes rather than graphemes.
Changed in doc8: | |
importance: | Undecided → High |
Changed in doc8: | |
assignee: | nobody → Joshua Harlow (harlowja) |
Changed in doc8: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Is this in a text file or an rst file? (the rst files are parsed with docutils so I just want to verify its not that code instead).