MCPcopy Index your code
hub / github.com/Hashnode/starter-kit / t

Function t

packages/utils/renderer/highlight.js:31–38  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

29 }
30 }
31 function t(e) {
32 return e
33 .replace(/&/g, '&')
34 .replace(/</g, '&lt;')
35 .replace(/>/g, '&gt;')
36 .replace(/"/g, '&quot;')
37 .replace(/'/g, '&#x27;');
38 }
39 function r(e, ...n) {
40 var t = {};
41 for (const n in e) t[n] = e[n];

Callers 5

cFunction · 0.70
highlight.jsFile · 0.70
addTextMethod · 0.70
highlightedFunction · 0.70
bFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected