mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-20 16:00:13 +01:00
Update MD051/link-fragments to handle backslash-escaping in heading text (fixes #984).
This commit is contained in:
parent
ca9930464e
commit
941769f204
5 changed files with 35 additions and 25 deletions
|
|
@ -6229,7 +6229,7 @@ var anchorRe = /\{(#[0-9a-z]+(?:[\x2D_][0-9a-z]+)*)\}/g;
|
|||
|
||||
// Sets for filtering heading tokens during conversion
|
||||
var childrenExclude = new Set(["image", "reference", "resource"]);
|
||||
var tokensInclude = new Set(["codeTextData", "data"]);
|
||||
var tokensInclude = new Set(["characterEscapeValue", "codeTextData", "data"]);
|
||||
|
||||
/**
|
||||
* @typedef {import("../helpers/micromark.cjs").Token} Token
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue