[Bug] AnyDoc code spans with pipes shift or discard table cells
Describe the bug
Importing an EPUB with a two-column table containing an inline code span such as a|b in its first cell splits the span into two cells in the generated Markdown. The actual second cell is then dropped by a Markdown table reader. A fenced code block inside a table cell has the same problem when converted to a code span.
Reproduce
Convert an EPUB whose chapter contains a row <tr><td><code>a|b</code></td><td>choice</td></tr> under two headers. On OpenViking main at d462af04 with firecrawl-anydoc 0.2.4, AnyDocConverter emits the following Markdown:
| Expression | Meaning |
| --- | --- |
| `a|b` | choice |
Rendering it with the Markdown table rule produces cells containing \aandb`` and loses "choice". Code outside a table renders normally. The GFM table specification uses an escaped pipe inside the code span to keep the table cell intact.
Expected behavior
The first cell contains the code a|b and the second cell still contains "choice". A backslash that was part of the source code stays part of the code.
I reproduced this with a locally generated EPUB, the actual AnyDoc converter, and a Markdown table parser. I’ll add a regression and link the fix. AI assisted with investigation and testing.