diff --git a/index.html b/index.html index b7b9076..7bae426 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@ - +
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} diff --git a/vibe/index.html b/vibe/index.html index 2c34e59..2e22407 100644 --- a/vibe/index.html +++ b/vibe/index.html @@ -23,7 +23,7 @@ - +