MCPcopy Index your code
hub / github.com/rtfpessoa/diff2html / removeInsElements

Function removeInsElements

src/render-utils.ts:67–69  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

65}
66
67function removeInsElements(line: string): string {
68 return line.replace(/(<ins[^>]*>((.|\n)*?)<\/ins>)/g, '');
69}
70
71function removeDelElements(line: string): string {
72 return line.replace(/(<del[^>]*>((.|\n)*?)<\/del>)/g, '');

Callers 1

diffHighlightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…