mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Fix range calculation in MD033/no-inline-html during re-parse of tabbed content.
This commit is contained in:
parent
48a92d41a4
commit
c53df8b720
7 changed files with 65 additions and 6 deletions
|
|
@ -16645,6 +16645,38 @@ Generated by [AVA](https://avajs.dev).
|
|||
'no-inline-html',
|
||||
],
|
||||
},
|
||||
{
|
||||
errorContext: null,
|
||||
errorDetail: 'Element: details',
|
||||
errorRange: [
|
||||
1,
|
||||
9,
|
||||
],
|
||||
fixInfo: null,
|
||||
lineNumber: 109,
|
||||
ruleDescription: 'Inline HTML',
|
||||
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
||||
ruleNames: [
|
||||
'MD033',
|
||||
'no-inline-html',
|
||||
],
|
||||
},
|
||||
{
|
||||
errorContext: null,
|
||||
errorDetail: 'Element: details',
|
||||
errorRange: [
|
||||
2,
|
||||
9,
|
||||
],
|
||||
fixInfo: null,
|
||||
lineNumber: 116,
|
||||
ruleDescription: 'Inline HTML',
|
||||
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
||||
ruleNames: [
|
||||
'MD033',
|
||||
'no-inline-html',
|
||||
],
|
||||
},
|
||||
],
|
||||
fixed: `# Detailed HTML Results␊
|
||||
␊
|
||||
|
|
@ -16753,6 +16785,17 @@ Generated by [AVA](https://avajs.dev).
|
|||
Nor <123abc>.␊
|
||||
␊
|
||||
Text␊
|
||||
␊
|
||||
<details>␊
|
||||
␊
|
||||
{MD033:109}␊
|
||||
␊
|
||||
<details>␊
|
||||
␊
|
||||
- Item␊
|
||||
<details>␊
|
||||
␊
|
||||
{MD033:116}␊
|
||||
`,
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue