* Converts the math node into a string, similar to innerText, but escaped.
()
| 145 | * Converts the math node into a string, similar to innerText, but escaped. |
| 146 | */ |
| 147 | toText(): string { |
| 148 | return this.children.map(child => child.toText()).join(""); |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | /** |