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

Function stripHtmlComments

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected