From 1553ce1ab8824665e2f332c48d1030553fabc3e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20Kadir=20Ak=C4=B1n?= Date: Wed, 23 Apr 2025 05:35:08 +0300 Subject: [PATCH] update --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index aae8a4c..becd3b8 100644 --- a/script.js +++ b/script.js @@ -1223,7 +1223,7 @@ function showYamlModal(event, title, content) { const createYamlButton = modalOverlay.querySelector(".create-yaml-button"); // Create the YAML content - const cleanTitle = decodeURIComponent(title).trim().replace(/^Act as an? /ig, ''); + const cleanTitle = decodeURIComponent(title).trim().replace(/^Act as a?n?\s?/ig, ''); const cleanContent = decodeURIComponent(content).trim().replace(/\n+/g, ' '); const yamlText = `name: ${cleanTitle}