Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MD026 Emoji incorrectly identified as trailing punctuation #451

Open
damies13 opened this issue Apr 11, 2023 · 3 comments
Open

MD026 Emoji incorrectly identified as trailing punctuation #451

damies13 opened this issue Apr 11, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@damies13
Copy link

damies13 commented Apr 11, 2023

Description

Emoji is incorrectly identified as trailing punctuation

Environment

Github Actions

Expected Behavior

MD026 should identify that a : character that is part of an emoji is not punctuation, expect not to get this error

Actual Behavior

Emoji is incorrectly identified as trailing punctuation

Replication Case

Add this line to an .md file

> #### :warning: Warning :warning: 

⚠️ Warning ⚠️

Logs

<filename>.md:193:34 MD026/no-trailing-punctuation Trailing punctuation in heading [Punctuation: ':']

I originally raised this as super-linter issue #3982 and was told to raise it here.

@damies13 damies13 added the bug Something isn't working label Apr 11, 2023
@damies13
Copy link
Author

In case anyone else encounters this issue, this was my workaround:

#### :warning: Warning :warning: <!-- this is here for markdownlint Issue #451 -->

@DavidAnson
Copy link
Contributor

FYI, SuperLinter uses https://github.com/igorshubovych/markdownlint-cli which uses https://github.com/DavidAnson/markdownlint, not this project.

Here is the corresponding issue for that project: DavidAnson/markdownlint#457

@damies13
Copy link
Author

@DavidAnson Thanks, there's no way I would have known that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants