Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ cleanUpHtml
Function
cleanUpHtml
adev/shared-docs/services/search-history.service.ts:28–30 ·
view source on GitHub ↗
(label: string | null)
Source
from the content-addressed store, hash-verified
26
}
27
28
function
cleanUpHtml(label: string | null): string {
29
return
(label ||
''
).replace(/<\/?mark>/g,
''
);
30
}
31
32
@Service()
33
export
class
SearchHistory {
Callers
1
addItem
Method · 0.85
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected