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

Function escapeCell

scripts/generate_slash_command_appendix.mjs:908–910  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

906]
907
908function escapeCell(value) {
909 return String(value ?? '').replaceAll('|', '\\|').replaceAll('\n', ' ')
910}
911
912const tableLines = [
913 '| ' + header.join(' | ') + ' |',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected