From aaf6e4a4f135a3d6f0743645f09253f18f25b3de Mon Sep 17 00:00:00 2001 From: Adriano Raiano Date: Fri, 20 Oct 2023 13:09:17 +0200 Subject: [PATCH] lint --- lib/xml-js/objectToXml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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