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

Function wrapInlineNameHTML

_benchmarks/sample_echarts.js:22159–22162  ·  view source on GitHub ↗
(name, leftHasMarker, style)

Source from the content-addressed store, hash-verified

22157 }
22158
22159 function wrapInlineNameHTML(name, leftHasMarker, style) {
22160 var marginCss = leftHasMarker ? 'margin-left:2px' : '';
22161 return "<span style=\"" + style + ";" + marginCss + "\">" + encodeHTML(name) + '</span>';
22162 }
22163
22164 function wrapInlineValueHTML(valueList, alignRight, valueCloseToMarker, style) {
22165 // Do not too close to marker, considering there are multiple values separated by spaces.

Callers 1

sample_echarts.jsFile · 0.85

Calls 1

encodeHTMLFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…