Copy Engine: scrub en dashes too
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ function complete(messages) {
|
||||
req.on('error', reject); req.on('timeout', () => req.destroy(new Error('engine timeout'))); req.end(body);
|
||||
});
|
||||
}
|
||||
const scrub = t => String(t || '').replace(/—|--/g, ',').replace(/^["“]+|["”]+$/g, '').trim();
|
||||
const scrub = t => String(t || '').replace(/\s*[—–]\s*|\s*--\s*/g, ', ').replace(/^["“]+|["”]+$/g, '').trim();
|
||||
|
||||
async function status(email) {
|
||||
const acct = await R.accounts.byEmail(email); if (!acct) return { error: 'No such account.' };
|
||||
|
||||
Reference in New Issue
Block a user