[Table] [reading mode] `|` not escape in `code`

We strongly recommend you to search the forum with possible keywords before submitting a new bug report. Please also try your repro steps with third-party plugins and custom CSS disabled and see if it’s still reproducible. If it’s an issue with third-party plugins or themes, try contacting the author for help. Once you’ve done the above, delete this line.

Steps to reproduce

  1. In edit mode, add a inline code in cell of table.

  2. Back to reading mode, the | has been parse to table split mark, and table crashed.
    image

Expected result

Actual result

Environment

  • Operating system: Win10
  • Debug info:

  • OB ver: 1.5.9

  • Theme: minimal 5.3.2 (But default theme is still same, this should be a md parse issue.)


Additional information

I don’t think this is a bug. I think this is something you should expect to have to find a workaround for. (Although yes, it would be nice if you could escape the pipe even in backticks. That is supported in some Markdown environments.)

If you use <code> blocks instead of backticks, then you can use \| to escape the pipe character.

<code>[attr \|= value]</code>

More details and suggestions here:

We strongly recommend you to search the forum with possible keywords before submitting a new bug report.

1 Like