mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #315] [MD028] Intended fix is ambiguous, consider removing fix support #268
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#268
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 @yi-Xu-0100 on GitHub (Aug 12, 2020).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/315
The problem pointed out the blank line inside block quotes. I used the quick fix provided and found that the fix was to delete the blank line. Whether blank lines can be reserved, that is, use an empty block reference flag, as demonstrated below.
Content before repair:
Content after repair:
Or give a configuration to set this repair method.
@DavidAnson commented on GitHub (Aug 12, 2020):
Fixes are meant to be simple, unambiguous, and able to be run without the user's involvement. In this case, you make a good point that the right change to the Markdown is not clear and may take either form depending on what the user wishes. Therefore, I'm thinking it may be best to remove the fix behavior for this rule.
@yi-Xu-0100 commented on GitHub (Aug 13, 2020):
Thanks. I will fix the problem manually next time.
no-reversed-linksand no-bare-urls#2079