🤖 codex: preserve spacing after inline directives (issue-telegram-inline-spacing)

This commit is contained in:
Josh Palmer
2026-01-09 00:15:41 +01:00
committed by Peter Steinberger
parent 4e92ccc0dd
commit 43545a4864
4 changed files with 10 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ export function extractModelDirective(
}
const cleaned = match
? body.replace(match[0], "").replace(/\s+/g, " ").trim()
? body.replace(match[0], " ").replace(/\s+/g, " ").trim()
: body.trim();
return {