@@ -11,7 +11,7 @@ function generateID(children, attributes) {
11 return bottomChildren
11 return bottomChildren
12 .filter((child) => typeof child === "string")
12 .filter((child) => typeof child === "string")
13 .join(" ")
13 .join(" ")
14− .replace(/[?]/g, "")
14+ .replace(/[=?!><:;,+#^|$&~"*@\.%/]/g, "")
15 .replace(/\s+/g, "-")
15 .replace(/\s+/g, "-")
16 .toLowerCase();
16 .toLowerCase();