Long lines ignored in a bulet list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
doc8 |
New
|
Undecided
|
Unassigned |
Bug Description
Doc8(v0.9.0) ignores too long lines in special circumstances. Let's start with following file (test.rst):
Blah
~~~~
* Blah
aaaaaaaaaaaaa aaaaaaaaaaaaaaa
..
$ doc8 test.rst # fails with: "test.rst:5: D001 Line too long"
$ doc8 --allow-long-titles test.rst # succeeds
Modify above file as follows:
Blah
~~~~
* Blah
aaaaaaaaaaaaa aaaaaaaaaaaaaaa
* blah
..
Now, both above invocations will lead to "test.rst:5: D001 Line too long".
First of all, the line at 5 is not a title so --allow-long-titles should not affect the result.
Secondly, the error is not reported for lines which happen to be the last bullet list entry.