MCPcopy
hub / github.com/tdewolff/minify / encodeHTML

Function encodeHTML

_benchmarks/sample_echarts.js:16460–16464  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

16458 '\'': '''
16459 };
16460 function encodeHTML(source) {
16461 return source == null ? '' : (source + '').replace(replaceReg, function (str, c) {
16462 return replaceMap[c];
16463 });
16464 }
16465 /**
16466 * Make value user readable for tooltip and label.
16467 * "User readable":

Callers 7

formatTplFunction · 0.85
formatTplSimpleFunction · 0.85
getTooltipMarkerFunction · 0.85
getTooltipTextStyleFunction · 0.85
sample_echarts.jsFile · 0.85
wrapInlineNameHTMLFunction · 0.85
wrapInlineValueHTMLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…