mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Update MD044/proper-names to parse into micromark htmlFlow tokens for better behavior when html_elements is false (fixes #832).
This commit is contained in:
parent
8cb6b8eff5
commit
b1eff75034
8 changed files with 386 additions and 25 deletions
|
|
@ -20,16 +20,33 @@ javascript {MD044}
|
|||
|
||||
<code>javascript</code> {MD044}
|
||||
|
||||
<div>javascript</div> {MD044}
|
||||
|
||||
<!-- javascript -->
|
||||
|
||||
<!--
|
||||
javascript
|
||||
-->
|
||||
|
||||
<a href="https://example.org">
|
||||
|
||||
<div><a href="https://example.org"></div>
|
||||
|
||||
<div>
|
||||
<a href="https://example.org">
|
||||
</div>
|
||||
|
||||
<div>
|
||||
javascript {MD044}
|
||||
<a href="https://example.org">
|
||||
javascript {MD044}
|
||||
</div>
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"MD033": false,
|
||||
"MD044": {
|
||||
"names": [
|
||||
"HTTPS",
|
||||
"JavaScript"
|
||||
],
|
||||
"html_elements": false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue