(valueList, alignRight, valueCloseToMarker, style)
| 22162 | } |
| 22163 | |
| 22164 | function wrapInlineValueHTML(valueList, alignRight, valueCloseToMarker, style) { |
| 22165 | // Do not too close to marker, considering there are multiple values separated by spaces. |
| 22166 | var paddingStr = valueCloseToMarker ? '10px' : '20px'; |
| 22167 | var alignCSS = alignRight ? "float:right;margin-left:" + paddingStr : ''; |
| 22168 | return "<span style=\"" + alignCSS + ";" + style + "\">" // Value has commas inside, so use ' ' as delimiter for multiple values. |
| 22169 | + map(valueList, function (value) { |
| 22170 | return encodeHTML(value); |
| 22171 | }).join(' ') + '</span>'; |
| 22172 | } |
| 22173 | |
| 22174 | function wrapInlineNameRichText(ctx, name, style) { |
| 22175 | return ctx.markupStyleCreator.wrapRichTextStyle(name, style); |
no test coverage detected
searching dependent graphs…