diff --git a/themr/src/main/kotlin/com/github/ouchadam/themr/ThemrPlugin.kt b/themr/src/main/kotlin/com/github/ouchadam/themr/ThemrPlugin.kt index 9e8bd3f..bc52a1c 100644 --- a/themr/src/main/kotlin/com/github/ouchadam/themr/ThemrPlugin.kt +++ b/themr/src/main/kotlin/com/github/ouchadam/themr/ThemrPlugin.kt @@ -73,7 +73,7 @@ class ThemrPlugin : Plugin { for (itemIndex in 0 until itemNodes.length) { val itemNode = itemNodes.item(itemIndex) val itemName = itemNode.attributes.getNamedItem("name") - items.add(Item(itemName.nodeName, itemNode.textContent)) + items.add(Item(itemName.nodeValue, itemNode.textContent)) } items } ?: emptyList()