(text)
| 81 | } |
| 82 | |
| 83 | writeText(text) { |
| 84 | const xml = this._xml; |
| 85 | if (this.open) { |
| 86 | xml.push(CLOSE_ANGLE); |
| 87 | this.open = false; |
| 88 | } |
| 89 | this.leaf = false; |
| 90 | xml.push(utils.xmlEncode(text.toString())); |
| 91 | } |
| 92 | |
| 93 | writeXml(xml) { |
| 94 | if (this.open) { |