MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / escapeCell

Function escapeCell

packages/app-core/src/lib/markdown-table.ts:113–115  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

111}
112
113function escapeCell(text: string): string {
114 return text.replace(/([|\\])/g, '\\$1')
115}
116
117function parseAlign(spec: string): ColumnAlign {
118 const s = spec.trim()

Callers 2

serializeTableFunction · 0.85
renderRowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected