Closed
Bug 1406342
Opened 7 years ago
Closed 7 years ago
Trim trailing newline in Comment and Section spans
Categories
(L20n :: Python Library, defect)
L20n
Python Library
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 | ||
Comment 1•7 years ago
|
||
I fixed this in https://github.com/projectfluent/python-fluent/commit/354525cba4ccb98b7ab5b1cb9d2b226f7aeff1ec and https://github.com/projectfluent/python-fluent/commit/e881c0cbcccd38aaca647ecbeef060bd78428439.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → stas
You need to log in
before you can comment on or make changes to this bug.
Description
•