We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80d9da7 commit 90a6c1dCopy full SHA for 90a6c1d
ts/semantic_tree/semantic_node.ts
@@ -236,13 +236,13 @@ export class SemanticNode {
236
const xmlNodes = nodes.map(function (x) {
237
return x.xml(xml, brief);
238
});
239
- const tagNode = DomUtil.createElementNS('', tag);
+ const tagNode = xml.createElementNS('', tag);
240
for (let i = 0, child; (child = xmlNodes[i]); i++) {
241
tagNode.appendChild(child);
242
}
243
return tagNode;
244
};
245
- const node = DomUtil.createElementNS('', this.type);
+ const node = xml.createElementNS('', this.type);
246
if (!brief) {
247
this.xmlAttributes(node);
248
0 commit comments