mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Update MD045/no-alt-text to report instances of HTML "img" tags missing an "alt" attribute (fixes #992).
This commit is contained in:
parent
0afedaebf4
commit
531e58ed9a
18 changed files with 274 additions and 25 deletions
|
|
@ -5,3 +5,6 @@
|
|||
// Regular expression for matching common newline characters
|
||||
// See NEWLINES_RE in markdown-it/lib/rules_core/normalize.js
|
||||
module.exports.newLineRe = /\r\n?|\n/g;
|
||||
|
||||
// Regular expression for matching next lines
|
||||
module.exports.nextLinesRe = /[\r\n][\s\S]*$/;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue