Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Escaped pipes (\|) in tables don't work #2

Open
mpetrovich opened this issue Oct 15, 2017 · 1 comment
Open

Escaped pipes (\|) in tables don't work #2

mpetrovich opened this issue Oct 15, 2017 · 1 comment
Labels
Milestone

Comments

@mpetrovich
Copy link
Owner

In GFM tables, pipes can be escaped. However, this doesn't work in Stylemark:

Foo | Bar
--- | ---
`yes \| no` | bar

Expected:
expected

Actual:
actual

@mpetrovich mpetrovich added the bug label Oct 15, 2017
@mpetrovich
Copy link
Owner Author

mpetrovich commented Oct 15, 2017

This is a known issue with marked, the Markdown parser that Stylemark uses.

Meanwhile, a workaround exists: wrap the code with <code> instead of backticks, and use &#124; instead of |.

Foo | Bar
--- | ---
<code>yes &#124; no</code> | bar

@mpetrovich mpetrovich added this to the 4.x milestone Jun 9, 2018
@mpetrovich mpetrovich removed this from the 4.x milestone Oct 23, 2018
@mpetrovich mpetrovich added this to the v4.0 milestone Dec 30, 2019
@mpetrovich mpetrovich reopened this Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant