mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-03-04 17:40:16 +01:00
Fix MD038 to handle text matches outside code span elements.
This commit is contained in:
parent
0f64bd5b4e
commit
74bd9b6e5b
2 changed files with 23 additions and 4 deletions
|
|
@ -5,3 +5,19 @@
|
|||
`codespan element with space inside right ` {MD038}
|
||||
|
||||
` codespan element with spaces inside ` {MD038}
|
||||
|
||||
`,`, `.`
|
||||
|
||||
`,`, `code`
|
||||
|
||||
`[`, `(`, `+`, `*`, `/`, `-`, `,`, `.`
|
||||
|
||||
`code` code `anything`
|
||||
|
||||
text `code` code `anything` text
|
||||
|
||||
text `code` text `anything` code `end`
|
||||
|
||||
text `anything` code `code` text `end`
|
||||
|
||||
text `anything` text `anything` code `anything` `code`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue