MCPcopy 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
28function cleanUpHtml(label: string | null): string {
29 return (label || '').replace(/<\/?mark>/g, '');
30}
31
32@Service()
33export class SearchHistory {

Callers 1

addItemMethod · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected