diff --git a/blog/20201022-simplex-chat/index.html b/blog/20201022-simplex-chat/index.html
index 9c038b075f..ca2a011369 100644
--- a/blog/20201022-simplex-chat/index.html
+++ b/blog/20201022-simplex-chat/index.html
@@ -209,8 +209,7 @@
top: y,
behavior: 'smooth'
});
- }
- else {
+ } else {
window.open(e.target.href, "_self");
}
}
@@ -249,6 +248,18 @@
behavior: 'smooth'
});
}
+
+
+ document.querySelectorAll("[id]").forEach((element) => {
+ let str = element.getAttribute("id");
+ str = str.split(":").join("");
+ str = str.split("?").join("");
+ str = str.split("/").join("");
+ str = str.split("!").join("");
+ str = str.split("'").join("");
+
+ element.setAttribute("id", str);
+ });