MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / cssEscape

Function cssEscape

packages/app-core/src/components/TasksView.tsx:630–633  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

628}
629
630function cssEscape(value: string): string {
631 if (typeof CSS !== 'undefined' && typeof CSS.escape === 'function') return CSS.escape(value)
632 return value.replace(/["\\]/g, '\\$&')
633}

Callers 1

TasksViewFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected