MarkdownTableFormatter icon indicating copy to clipboard operation
MarkdownTableFormatter copied to clipboard

Pipe symbols in code/emphasis cause reformatting problems

Open sspkmnd opened this issue 7 years ago • 0 comments

Tables with pipe symbols | inside code/emphasis/escaped get formatted incorrectly:

a|b
-|-
`|`|foo
\\|bar

Expected formatting:

| a   | b   |
|:----|:----|
| `|` | foo |
| \\  | bar |

but get formatted into:

| a   | b    |      |
|:----|:-----|:-----|
| `   | `    | foo  |
| \\  | bar  |      |

sspkmnd avatar Dec 08 '18 23:12 sspkmnd