MCPcopy Create free account
hub / github.com/angular/angular / stripHtmlComments

Function stripHtmlComments

packages/core/test/acceptance/integration_spec.ts:54–56  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

52 });
53
54 function stripHtmlComments(str: string) {
55 return str.replace(/<!--[\s\S]*?-->/g, '');
56 }
57
58 describe('render', () => {
59 it('should render basic template', () => {

Callers 1

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected