diff --git a/front/src/Phaser/Menu/MenuScene.ts b/front/src/Phaser/Menu/MenuScene.ts
index 9e11a873..348554b3 100644
--- a/front/src/Phaser/Menu/MenuScene.ts
+++ b/front/src/Phaser/Menu/MenuScene.ts
@@ -280,9 +280,11 @@ export class MenuScene extends Phaser.Scene {
public addMenuOption(menuText: string) {
const wrappingSection = document.createElement("section")
- wrappingSection.innerHTML = ``
+ const excapedHtml = HtmlUtils.escapeHtml(menuText);
+ wrappingSection.innerHTML = ``
const menuItemContainer = this.menuElement.node.querySelector("#gameMenu main");
if (menuItemContainer) {
+ menuItemContainer.querySelector(`#${excapedHtml}.fromApi`)?.remove()
menuItemContainer.insertBefore(wrappingSection, menuItemContainer.querySelector("#socialLinks"))
}
}