Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ stripHtmlComments
Function
stripHtmlComments
packages/core/test/acceptance/integration_spec.ts:52–54 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
50
});
51
52
function
stripHtmlComments(str: string) {
53
return
str.replace(/<!--[\s\S]*?-->/g,
''
);
54
}
55
56
describe(
'render'
, () => {
57
it(
'should render basic template'
, () => {
Callers
1
integration_spec.ts
File · 0.85
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected