Home / Function/ escapeTableCell() — dead-code-hunter Function Reference

escapeTableCell() — dead-code-hunter Function Reference

Architecture documentation for the escapeTableCell() function in markdown.ts from the dead-code-hunter codebase.

Entity Profile

Dependency Diagram

graph TD
  5aa7ab2d_e5c4_b714_d886_f22469e3fda3["escapeTableCell()"]
  2e909b04_bb6e_a3ab_d740_ab5e4292de6d["formatPrComment()"]
  2e909b04_bb6e_a3ab_d740_ab5e4292de6d -->|calls| 5aa7ab2d_e5c4_b714_d886_f22469e3fda3
  style 5aa7ab2d_e5c4_b714_d886_f22469e3fda3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/markdown.ts lines 4–6

export function escapeTableCell(text: string): string {
  return text.replace(/\|/g, '\\|').replace(/\n/g, ' ');
}

Domain

Called By

Frequently Asked Questions

What does escapeTableCell() do?
escapeTableCell() is a function in the dead-code-hunter codebase.
What calls escapeTableCell()?
escapeTableCell() is called by 1 function(s): formatPrComment.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free