(old)
| 5762 | |
| 5763 | function buildTokenSplitSpaces(inner) { |
| 5764 | function split(old) { |
| 5765 | var out = " "; |
| 5766 | for (var i = 0; i < old.length - 2; ++i) out += i % 2 ? " " : "\u00a0"; |
| 5767 | out += " "; |
| 5768 | return out; |
| 5769 | } |
| 5770 | return function(builder, text, style, startStyle, endStyle, title) { |
| 5771 | inner(builder, text.replace(/ {3,}/g, split), style, startStyle, endStyle, title); |
| 5772 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected