We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
An escaped pipe isn't taken into account when MD056 - Table has inconsistent number of columns is checking tables
MD056 - Table has inconsistent number of columns
MacOS Sonoma 14.4.1
MDL Version 0.13.0
0.13.0
Escaped pipes \| wouldn't be counted as a column.
\|
It appears to be seeing the pipe that is escaped and considering it a column.
Here is a test file that shows the behavior
# Test File | First | Second | | :---- | :----- | | Normal | Normal | | true\|false | test |
$ mdl test.md test.md:6: MD056 Table has inconsistent number of columns
Rendered table:
The text was updated successfully, but these errors were encountered:
I'm hitting this bug too with the following:
| header | header2 | | --------|---------| | normal | normal | | `\|` | Jump to column, without a prefix number jumps to start of line |
I tried working around it using triple backticks, but this doesn't work either:
| header | header2 | | --------|---------| | normal | normal | | ```\|``` | Jump to column, without a prefix number jumps to start of line |
We really need inline ignores to work around these false positives, like #16 or as a second choice the ability to exclude a whole file as per #167
Sorry, something went wrong.
No branches or pull requests
Description
An escaped pipe isn't taken into account when
MD056 - Table has inconsistent number of columns
is checking tablesEnvironment
MacOS Sonoma 14.4.1
MDL Version
0.13.0
Expected Behavior
Escaped pipes
\|
wouldn't be counted as a column.Actual Behavior
It appears to be seeing the pipe that is escaped and considering it a column.
Replication Case
Here is a test file that shows the behavior
Rendered table:
The text was updated successfully, but these errors were encountered: