mirror of
https://github.com/f/awesome-chatgpt-prompts.git
synced 2025-06-06 18:30:59 +00:00
deploy: 1553ce1ab8824665e2f332c48d1030553fabc3e9
This commit is contained in:
parent
7be61273ac
commit
e3ed4258ab
@ -23,7 +23,7 @@
|
||||
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/style.css?v=3132b34e2c75dd30b20d24d0296e641692f3bc2f">
|
||||
<link rel="stylesheet" href="/style.css?v=1553ce1ab8824665e2f332c48d1030553fabc3e9">
|
||||
</head>
|
||||
<body class="">
|
||||
<div class="layout-wrapper">
|
||||
|
@ -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}
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
|
||||
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/style.css?v=3132b34e2c75dd30b20d24d0296e641692f3bc2f">
|
||||
<link rel="stylesheet" href="/style.css?v=1553ce1ab8824665e2f332c48d1030553fabc3e9">
|
||||
</head>
|
||||
<body class="vibe">
|
||||
<div class="layout-wrapper">
|
||||
|
Loading…
x
Reference in New Issue
Block a user