Add tests for MD051/link-fragments to validate quotes and accented characters (refs #536).

This commit is contained in:
David Anson 2022-07-21 04:17:11 +00:00
parent 1bd748f79e
commit 59a4a56bfc
3 changed files with 30 additions and 6 deletions

View file

@ -38,6 +38,12 @@
[Valid](#valid-heading-with-embedded--comment)
[Valid](#the-best-headin-for-testin-quotes)
[Valid](#valid-heading-about-lh%C3%B4pitals-rule)
[Valid](#en-t%C3%AAte-valide-dans-fran%C3%A7ais-pour-v%C3%A9rification)
[Valid](#namedlink)
[Valid](#idlink)
@ -105,6 +111,12 @@ Text
### Valid Heading With Embedded <!-- comment --> Comment
### The "Best" Headin' for Testin' Quotes
### Valid Heading About L'Hôpital's Rule
### En-tête Valide Dans Français Pour Vérification
<a name="namedlink"></a>
<a id = idlink></a>

View file

@ -20950,7 +20950,7 @@ Generated by [AVA](https://avajs.dev).
31,
],
fixInfo: null,
lineNumber: 120,
lineNumber: 132,
ruleDescription: 'Link fragments should be valid',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md051',
ruleNames: [
@ -20966,7 +20966,7 @@ Generated by [AVA](https://avajs.dev).
36,
],
fixInfo: null,
lineNumber: 122,
lineNumber: 134,
ruleDescription: 'Link fragments should be valid',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md051',
ruleNames: [
@ -20982,7 +20982,7 @@ Generated by [AVA](https://avajs.dev).
28,
],
fixInfo: null,
lineNumber: 124,
lineNumber: 136,
ruleDescription: 'Link fragments should be valid',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md051',
ruleNames: [
@ -20998,7 +20998,7 @@ Generated by [AVA](https://avajs.dev).
18,
],
fixInfo: null,
lineNumber: 126,
lineNumber: 138,
ruleDescription: 'Link fragments should be valid',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md051',
ruleNames: [
@ -21014,7 +21014,7 @@ Generated by [AVA](https://avajs.dev).
21,
],
fixInfo: null,
lineNumber: 128,
lineNumber: 140,
ruleDescription: 'Link fragments should be valid',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md051',
ruleNames: [
@ -21027,7 +21027,7 @@ Generated by [AVA](https://avajs.dev).
errorDetail: null,
errorRange: null,
fixInfo: null,
lineNumber: 130,
lineNumber: 142,
ruleDescription: 'Link fragments should be valid',
ruleInformation: 'https://github.com/DavidAnson/markdownlint/blob/v0.0.0/doc/Rules.md#md051',
ruleNames: [
@ -21076,6 +21076,12 @@ Generated by [AVA](https://avajs.dev).
[Valid](#valid-heading-with-embedded--comment)␊
[Valid](#the-best-headin-for-testin-quotes)␊
[Valid](#valid-heading-about-lh%C3%B4pitals-rule)␊
[Valid](#en-t%C3%AAte-valide-dans-fran%C3%A7ais-pour-v%C3%A9rification)␊
[Valid](#namedlink)␊
[Valid](#idlink)␊
@ -21143,6 +21149,12 @@ Generated by [AVA](https://avajs.dev).
### Valid Heading With Embedded <!-- comment --> Comment␊
### The "Best" Headin' for Testin' Quotes␊
### Valid Heading About L'Hôpital's Rule␊
### En-tête Valide Dans Français Pour Vérification␊
<a name="namedlink"></a>
<a id = idlink></a>