diff --git a/src/components/utils/csv-loader.ts b/src/components/utils/csv-loader.ts index 73fd5c2..85f8422 100644 --- a/src/components/utils/csv-loader.ts +++ b/src/components/utils/csv-loader.ts @@ -158,5 +158,5 @@ export function processVariables (body: string, currentRow return `{{${key}}}`; } - return body?.replace(/\{\{(\w+)\}\}/g, (_, key) => `${replaceProp(key)}`) || ''; + return body?.replace(/\{\{([^}]+)\}\}/g, (_, key) => `${replaceProp(key)}`) || ''; }