MCPcopy Index your code
hub / github.com/angular/angular / escapeCommentText

Function escapeCommentText

packages/core/src/util/dom.ts:48–52  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

46 * sequence.
47 */
48export function escapeCommentText(value: string): string {
49 return value.replace(COMMENT_DISALLOWED, (text) =>
50 text.replace(COMMENT_DELIMITER, COMMENT_DELIMITER_ESCAPED),
51 );
52}

Callers 3

dom_spec.tsFile · 0.90
createCommentNodeFunction · 0.90
setNgReflectPropertyFunction · 0.90

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…