MCPcopy Create free account
hub / github.com/Noumena-Network/code / closeRepairedTableRow

Function closeRepairedTableRow

src/utils/markdown.ts:211–213  ·  view source on GitHub ↗
(row: string)

Source from the content-addressed store, hash-verified

209}
210
211function closeRepairedTableRow(row: string): string {
212 return row.trimEnd().endsWith('|') ? row.trimEnd() : `${row.trimEnd()} |`
213}
214
215export function repairMalformedPipeTables(content: string): string {
216 if (!content.includes('|')) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected