MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / h

Function h

vulnerablecode/static/js/highlight-10.6.0.min.js:179–181  ·  view source on GitHub ↗
(e,t,n,s)

Source from the content-addressed store, hash-verified

177languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",
178tabReplace:null,useBR:!1,languages:null,__emitter:c};function d(e){
179return g.noHighlightRe.test(e)}function h(e,t,n,s){const r={code:t,language:e}
180;M("before:highlight",r);const a=r.result?r.result:f(r.language,r.code,n,s)
181;return a.code=r.code,M("after:highlight",a),a}function f(e,t,r,o){const c=t
182;function u(e,t){const n=w.case_insensitive?t[0].toLowerCase():t[0]
183;return Object.prototype.hasOwnProperty.call(e.keywords,n)&&e.keywords[n]}
184function d(){null!=R.subLanguage?(()=>{if(""===M)return;let e=null

Callers 3

xFunction · 0.85
vFunction · 0.85
EFunction · 0.85

Calls 4

MFunction · 0.85
fFunction · 0.85
openNodeMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected