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: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
integration_spec.ts
File · 0.85
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected