@joyzl/eno 1.2.5 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -0
- package/package.json +1 -1
package/index.js
CHANGED
@@ -811,6 +811,10 @@ function setEntity(element, entity, converter) {
|
|
811
811
|
}
|
812
812
|
}
|
813
813
|
}
|
814
|
+
name = element.getAttribute("case");
|
815
|
+
if (name && name.length) {
|
816
|
+
converter(element, entity, name);
|
817
|
+
}
|
814
818
|
if (element.childElementCount) {
|
815
819
|
for (let i = 0; i < element.children.length; i++) {
|
816
820
|
setEntity(element.children[i], entity, converter);
|