mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Update MD009/no-trailing-spaces to include strict mode (fixes #216).
This commit is contained in:
parent
a9251c533f
commit
6f3c67f760
10 changed files with 193 additions and 11 deletions
|
|
@ -15,7 +15,6 @@ module.exports = {
|
|||
if (token.type === "paragraph_open") {
|
||||
return function inParagraph(t) {
|
||||
// Always paragraph_open/inline/paragraph_close,
|
||||
// omit (t.type === "inline")
|
||||
const children = t.children.filter(function notEmptyText(child) {
|
||||
return (child.type !== "text") || (child.content !== "");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue