Open
Description
If a string ends with '\r\n' the final returned line break position doesn't have the 'required' flag set.
This line should include a check and return appropriately:
Line 194 in 9096a22
eg: perhaps this:
var required = (this.curClass === BK) || ((this.curClass === CR) && (this.nextClass !== LF));
return new Break(this.string.length, required)
Metadata
Assignees
Labels
No labels