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:
David Anson 2023-05-30 20:14:02 -07:00
parent 8cb6b8eff5
commit b1eff75034
8 changed files with 386 additions and 25 deletions

View file

@ -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