Quoted values are preserved as written
All 4 scenarios hold
The formatter never rewrites quoting: a quoted value keeps its quote style, pipes inside quotes do not split the cell, and backslash sequences are kept literally. Values that mix both quote styles, use unmatched quotes, or hold quoted list elements cannot be written inside this table (they would break the table's own parsing) and are covered by the plain tests below.
expected outcome
broken scenario
| Scenario | Value | Formatted? |
|---|---|---|
| Single-quoted value | 'value' | 'value' |
| Double-quoted value | "value" | "value" |
| Pipe inside quotes | 'a|b' | 'a|b' |
| Invalid backslash escape | \uZZZZ | \uZZZZ |