Finds HTML tags that are parsed as another tag name
const name = "$[data1]";
const doc = new DOMParser().parseFromString(`<body><${name}>`, "text/html");
if (doc.body.firstElementChild.localName !== name) {
log("$[data1]")
}const name = "image";
const doc = new DOMParser().parseFromString(`<body><${name}>`, "text/html");
if (doc.body.firstElementChild.localName !== name) {
alert("image")
}