Remove comment
This commit is contained in:
parent
e8fc840733
commit
199adf6d55
|
@ -58,8 +58,7 @@ const nodeChildrenToString = (nodeChildren) => {
|
||||||
const parseXML = (XML) => {
|
const parseXML = (XML) => {
|
||||||
const xmlDoc = libxmljs.parseHtml(XML);
|
const xmlDoc = libxmljs.parseHtml(XML);
|
||||||
let eventdefsChildren = xmlDoc.get("//eventdefs").childNodes();
|
let eventdefsChildren = xmlDoc.get("//eventdefs").childNodes();
|
||||||
eventdefsChildren.forEach((eventItem) => {
|
eventdefsChildren.forEach((eventItem) => {``
|
||||||
// sometimes there's events that are commented out, hopefully this catches that
|
|
||||||
if (eventItem.type() === "element") {
|
if (eventItem.type() === "element") {
|
||||||
const title = eventItem.attr("title").value();
|
const title = eventItem.attr("title").value();
|
||||||
const shortNodes = eventItem.get(".//short").childNodes();
|
const shortNodes = eventItem.get(".//short").childNodes();
|
||||||
|
|
Loading…
Reference in New Issue