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

Table layout could be disrupted. #689

Closed
ataihei opened this issue Jul 16, 2020 · 1 comment
Closed

Table layout could be disrupted. #689

ataihei opened this issue Jul 16, 2020 · 1 comment

Comments

@ataihei
Copy link

ataihei commented Jul 16, 2020

When using table syntax, if you use even one ` after surrounding a ` with a ``, the table layout may be corrupted.

Example:

|a|b|
|--|--|
|`` ` ``| `c` |
|`` ` ``| `d |
| `e` | `` ` `` |
|`` ` ``| f |

Result:
image

Thank you for your response.

@rlidwka
Copy link
Member

rlidwka commented Sep 14, 2020

Fixed, should be the same as on github now.

rlidwka added a commit that referenced this issue Sep 14, 2020
 - table now doesn't deal with backticks at all
 - `|` is considered escaped if and only if there is a `\` character immediately before it
 - number of elements in the first row (thead) now must match second row (aligns) exactly
 - no tbody if it would be empty

close #689
close #697
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants