mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #117] Error with L SEP chars in source #1945
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#1945
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @scop on GitHub (Mar 28, 2018).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/117
The atached source file (which contains L SEP characters, U+2028 at end of hello and world lines) provokes an error when checked with markdownlint-cli 0.8.1 and markdownlint 0.8.1:
test.md.gz
@DavidAnson commented on GitHub (Mar 28, 2018):
Sorry, I’ll have a look soon! Offhand, it seems there may be confusion about line breaks, likely due to the uncommon character used here.
@DavidAnson commented on GitHub (Mar 28, 2018):
Researching briefly, L SEP is a line separator character, which seems relevant for a line breaking bug. I expect there is a mismatch between the linter and the parser about what, exactly, ends a line. Should not be hard to fix.
@scop commented on GitHub (Mar 30, 2018):
Just to be clear, the use of L SEP in the case I saw them in was almost certainly not intentional, and unnecessary anyway so I've removed them. But it would be good to handle this more gracefully in markdownlint.