MCPcopy
hub / github.com/mifi/lossless-cut / esc

Function esc

src/main/menu.ts:13–13  ·  view source on GitHub ↗
(val: string)

Source from the content-addressed store, hash-verified

11// menu-safe i18n.t:
12// https://github.com/mifi/lossless-cut/issues/1456
13const esc = (val: string) => val.replaceAll('&', '&&');
14
15const { Menu } = electron;
16

Callers 1

menu.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected