(text, mode, options)
| 6815 | * optional replacement from symbols.js. |
| 6816 | */ |
| 6817 | const makeText = function makeText(text, mode, options) { |
| 6818 | if (symbols[mode][text] && symbols[mode][text].replace && text.charCodeAt(0) !== 0xD835 && !(ligatures.hasOwnProperty(text) && options && (options.fontFamily && options.fontFamily.substr(4, 2) === "tt" || options.font && options.font.substr(4, 2) === "tt"))) { |
| 6819 | text = symbols[mode][text].replace; |
| 6820 | } |
| 6821 | |
| 6822 | return new mathMLTree.TextNode(text); |
| 6823 | }; |
| 6824 | /** |
| 6825 | * Wrap the given array of nodes in an <mrow> node if needed, i.e., |
| 6826 | * unless the array has length 1. Always returns a single node. |
no outgoing calls
no test coverage detected