[GH-ISSUE #182] MD033 triggered for backticked HTML #157

Closed
opened 2026-03-03 01:24:14 +03:00 by kerem · 7 comments
Owner

Originally created by @VasilyStrelyaev on GitHub (May 8, 2019).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/182

In v0.14.0, MD033 is now triggered for HTML tags even if they are backticked.

For example, the following markdown is now flagged:

# Header

`<script>`

Originally created by @VasilyStrelyaev on GitHub (May 8, 2019). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/182 In v0.14.0, MD033 is now triggered for HTML tags even if they are backticked. For example, the following markdown is now flagged: ```text # Header `<script>` ```
kerem 2026-03-03 01:24:14 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@DavidAnson commented on GitHub (May 8, 2019):

Apologies! I refactored that rule and seem to have missed this case. I will try to get a fix out this evening.

<!-- gh-comment-id:490523650 --> @DavidAnson commented on GitHub (May 8, 2019): Apologies! I refactored that rule and seem to have missed this case. I will try to get a fix out this evening.
Author
Owner

@DavidAnson commented on GitHub (May 8, 2019):

If you can stay on version 0.13.0 for another day or two, I think you will avoid this problem.

<!-- gh-comment-id:490526021 --> @DavidAnson commented on GitHub (May 8, 2019): If you can stay on version `0.13.0` for another day or two, I think you will avoid this problem.
Author
Owner

@DavidAnson commented on GitHub (May 9, 2019):

@VasilyStrelyaev, @molant: What I've done here should now handle most common scenarios. If you find anything that's still wrong, please provide more examples. Thanks!

<!-- gh-comment-id:490745329 --> @DavidAnson commented on GitHub (May 9, 2019): @VasilyStrelyaev, @molant: What I've done here should now handle most common scenarios. If you find anything that's still wrong, please provide more examples. Thanks!
Author
Owner

@molant commented on GitHub (May 9, 2019):

Thanks @DavidAnson!
Are you going to publish a new version?

<!-- gh-comment-id:490746802 --> @molant commented on GitHub (May 9, 2019): Thanks @DavidAnson! Are you going to publish a new version?
Author
Owner

@DavidAnson commented on GitHub (May 9, 2019):

Yep, 0.14.1 is now available!

<!-- gh-comment-id:490748295 --> @DavidAnson commented on GitHub (May 9, 2019): Yep, `0.14.1` is now available!
Author
Owner

@molant commented on GitHub (May 9, 2019):

@DavidAnson works perfectly in our docs. Thanks!

<!-- gh-comment-id:490986196 --> @molant commented on GitHub (May 9, 2019): @DavidAnson works perfectly in our docs. Thanks!
Author
Owner

@VasilyStrelyaev commented on GitHub (May 13, 2019):

Thanks so much @DavidAnson!

<!-- gh-comment-id:491734330 --> @VasilyStrelyaev commented on GitHub (May 13, 2019): Thanks so much @DavidAnson!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#157
No description provided.