make-a-readme
make-a-readme copied to clipboard
Escape character ignored in table
In a markdown table cell, the escape character to use |
is ignored.
The table that should render like this:
col1 | col2 | col3 |
---|---|---|
yes|no | maybe | sometimes |
Instead renders like this:
col1 | col2 | col3 |
---|---|---|
yes\ | no | maybe |
...but with an extra cell after the second row.
To reproduce, place this code in the editable markdown input:
| col1 | col2 | col3 |
| --- | --- | --- |
| yes\|no | maybe | sometimes |