mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-07 06:21:47 +01:00
Remove automatic fix from MD028/no-blanks-blockquote due to ambiguity (fixes #315).
This commit is contained in:
parent
a6d30cb724
commit
09c5736385
4 changed files with 21 additions and 12 deletions
|
|
@ -7,6 +7,7 @@ Text
|
|||
## Another heading
|
||||
|
||||
> Multiple spaces
|
||||
|
||||
> Blank line above
|
||||
|
||||
1. Alpha
|
||||
|
|
|
|||
|
|
@ -458,7 +458,7 @@ tape("applyFix", (test) => {
|
|||
});
|
||||
|
||||
tape("applyFixes", (test) => {
|
||||
test.plan(28);
|
||||
test.plan(29);
|
||||
const testCases = [
|
||||
[
|
||||
"Hello world.",
|
||||
|
|
@ -886,6 +886,24 @@ tape("applyFixes", (test) => {
|
|||
}
|
||||
],
|
||||
"Hello\r\nworld\r\n\r\n"
|
||||
],
|
||||
[
|
||||
"Hello world",
|
||||
[
|
||||
{
|
||||
"lineNumber": 1,
|
||||
"fixInfo": {
|
||||
"insertText": "x"
|
||||
}
|
||||
},
|
||||
{
|
||||
"lineNumber": 1,
|
||||
"fixInfo": {
|
||||
"deleteCount": -1
|
||||
}
|
||||
}
|
||||
],
|
||||
""
|
||||
]
|
||||
];
|
||||
testCases.forEach((testCase) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue