diff --git a/lib/xml-js/objectToXml.js b/lib/xml-js/objectToXml.js index c366727..f7d34da 100644 --- a/lib/xml-js/objectToXml.js +++ b/lib/xml-js/objectToXml.js @@ -3,7 +3,7 @@ import { elementTypeToTag } from '../inline-elements/typeToTagMaps.js' export function makeElement (name, attributes, elements) { const el = { type: 'element', - name: name + name } if (attributes !== null && attributes !== undefined) { el.attributes = attributes