Closed Bug 1406342 Opened 7 years ago Closed 7 years ago

Trim trailing newline in Comment and Section spans

Categories

(L20n :: Python Library, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Assigned: stas)

References

Details

The content of Comments doesn't include the trailing newline, but their spans do because of how ps.next is called in get_comment. This is inconsistent and makes the compare-locales Parser yield Comments with the newline. Same applies to Sections.
Assignee: nobody → stas
You need to log in before you can comment on or make changes to this bug.