(text, mode, options)
| 6888 | * optional replacement from symbols.js. |
| 6889 | */ |
| 6890 | var buildMathML_makeText = function makeText(text, mode, options) { |
| 6891 | if (src_symbols[mode][text] && src_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"))) { |
| 6892 | text = src_symbols[mode][text].replace; |
| 6893 | } |
| 6894 | |
| 6895 | return new mathMLTree.TextNode(text); |
| 6896 | }; |
| 6897 | /** |
| 6898 | * Wrap the given array of nodes in an <mrow> node if needed, i.e., |
| 6899 | * unless the array has length 1. Always returns a single node. |
no outgoing calls
no test coverage detected