mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00:13 +01:00
Update MD033/no-inline-html to ignore HTML in labels for reference links/images (fixes #658).
This commit is contained in:
parent
cba5e8d340
commit
2146bbae5f
6 changed files with 101 additions and 6 deletions
|
|
@ -20807,6 +20807,54 @@ Generated by [AVA](https://avajs.dev).
|
|||
'no-inline-html',
|
||||
],
|
||||
},
|
||||
{
|
||||
errorContext: null,
|
||||
errorDetail: 'Element: link-with',
|
||||
errorRange: [
|
||||
4,
|
||||
11,
|
||||
],
|
||||
fixInfo: null,
|
||||
lineNumber: 124,
|
||||
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: reference',
|
||||
errorRange: [
|
||||
16,
|
||||
11,
|
||||
],
|
||||
fixInfo: null,
|
||||
lineNumber: 128,
|
||||
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: reference',
|
||||
errorRange: [
|
||||
16,
|
||||
11,
|
||||
],
|
||||
fixInfo: null,
|
||||
lineNumber: 130,
|
||||
ruleDescription: 'Inline HTML',
|
||||
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/md033.md',
|
||||
ruleNames: [
|
||||
'MD033',
|
||||
'no-inline-html',
|
||||
],
|
||||
},
|
||||
{
|
||||
errorContext: '`code <element `',
|
||||
errorDetail: null,
|
||||
|
|
@ -20976,6 +21024,17 @@ Generated by [AVA](https://avajs.dev).
|
|||
Text \`code <element> code\` text␊
|
||||
␊
|
||||
Text <element> text {MD033}␊
|
||||
␊
|
||||
A [<link-with>][a-reference] is problematic. {MD033}␊
|
||||
␊
|
||||
A [link with][a-<reference>] is okay.␊
|
||||
␊
|
||||
A link with [a-<reference>][] is problematic. {MD033}␊
|
||||
␊
|
||||
A link with [a-<reference>] is problematic. {MD033}␊
|
||||
␊
|
||||
[a-reference]: https://example.com/␊
|
||||
[a-<reference>]: https://example.com/␊
|
||||
`,
|
||||
}
|
||||
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue