Commit 142f8f0
authored
fix(prd): escape a backslash in a PRD title so the index row keeps its columns (#155)
cell() escaped `|` but not `\`, so a title holding `a\|b` was written as
`a\\|b` — an escaped backslash followed by a live pipe, which splits the cell
and shifts every column after it. That is the exact break the comment above
cell() says it is preventing. A newline in a title was not handled at all and
ended the table row outright.
Escape the backslash before the pipe, and flatten newlines to a space.
Co-authored-by: clawedassistant26 <307253840+clawedassistant26@users.noreply.github.com>1 parent d659f1e commit 142f8f0
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
254 | 260 | | |
255 | 261 | | |
256 | 262 | | |
| |||
Binary file not shown.
0 commit comments