-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
No offense for code with unclosed backtick #26
Comments
Do you have Could you please provide a full Markdown snippet and your RuboCop Markdown configuration? |
Yes, of course. I've uploaded the sample code as an attachment since I don't know how to properly escape the syntax here: require:
- rubocop-md
AllCops:
NewCops: enable |
Thanks for helping with investigation. Fixed and released in 1.2.2. |
Thanks! |
Examining a file which just contains the character ` is a
Lint/Syntax
offense for rubocop, but the same thing in a ruby codeblock passes.This isn't just a hypothetical problem, I have come across code like the following where the backtick was inserted in place of a space for some reason. This produces no offense:
Subsequent codeblocks are not/wrongly being linted, this in a following codeblock produces no offense as well:
The text was updated successfully, but these errors were encountered: