mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Fix issue with MD044/proper-names where stateful RegExp could fail to match bare URLs, remove unnecessary use of bareUrlRe by MD033/no-inline-html.
This commit is contained in:
parent
57c661700a
commit
31ffe52f0f
4 changed files with 51 additions and 5 deletions
33
test/proper-names-urls.md
Normal file
33
test/proper-names-urls.md
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Proper Names in URLs
|
||||
|
||||
Text https text {MD044}
|
||||
Text example text {MD044}
|
||||
Text com text {MD044}
|
||||
Text directory text {MD044}
|
||||
Text file text {MD044}
|
||||
Text HTTPS EXAMPLE COM DIRECTORY FILE text
|
||||
|
||||
> The following lines are deliberately duplicated
|
||||
|
||||
Text https://example.com/directory/file text
|
||||
|
||||
Text https://example.com/directory/file text
|
||||
|
||||
Text <https://example.com/directory/file> text
|
||||
|
||||
Text <https://example.com/directory/file> text
|
||||
|
||||
Text [https://example.com/directory/file](https://example.com/directory/file) text
|
||||
|
||||
Text [https://example.com/directory/file](https://example.com/directory/file) text
|
||||
|
||||
Text `https://example.com/directory/file` text
|
||||
Text `https://example.com/directory/file` text
|
||||
|
||||
```text
|
||||
Text https://example.com/directory/file text
|
||||
Text https://example.com/directory/file text
|
||||
```
|
||||
|
||||
Text https://example.com/directory/file text
|
||||
Text https://example.com/directory/file text
|
||||
Loading…
Add table
Add a link
Reference in a new issue