mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 01:05:55 +03:00
[GH-ISSUE #48] Trailing space in paragraph bug #1886
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#1886
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 @thomasjbradley on GitHub (Mar 13, 2017).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/48
There seems to be a bug in the trailing space matching of some kind, but only errors when there’s front matter. I cannot recreate the error in the demo so it could also be related to
resultVersion: 1.This is the code that throws the error:
There’s a trailing space right at the end of “information. ” and this is the error I get:
If I strip the front matter it seems to work okay.
Version: 0.4.0
@thomasjbradley commented on GitHub (Mar 13, 2017):
Here’s my config:
@DavidAnson commented on GitHub (Mar 13, 2017):
I have an idea. I'll take a look tonight. Sorry for the trouble!
@thomasjbradley commented on GitHub (Mar 14, 2017):
No problem at all—thanks for being so responsive.
@DavidAnson commented on GitHub (Mar 14, 2017):
I can reproduce this problem. It is related to
resultVersion. I should have a fix tomorrow evening. I'll be releasing0.4.1soon with this fix. Thanks!@thomasjbradley commented on GitHub (Mar 14, 2017):
Thanks so much!