fn escape_table_cell(s: &str) -> StringExpand description
Escape a value so it is safe inside a markdown (GFM) table cell:
- replace
|with\|(column separator) - replace newlines with
<br/>(cells must be one logical line) - replace
\rso CRLF natspec doesn’t create stray spaces