🤖 codex: preserve spacing after inline directives (issue-telegram-inline-spacing)
This commit is contained in:
committed by
Peter Steinberger
parent
4e92ccc0dd
commit
43545a4864
@@ -272,7 +272,7 @@ export function extractQueueDirective(body?: string): {
|
||||
const args = body.slice(argsStart);
|
||||
const parsed = parseQueueDirectiveArgs(args);
|
||||
const cleanedRaw =
|
||||
body.slice(0, start) + body.slice(argsStart + parsed.consumed);
|
||||
body.slice(0, start) + " " + body.slice(argsStart + parsed.consumed);
|
||||
const cleaned = cleanedRaw.replace(/\s+/g, " ").trim();
|
||||
return {
|
||||
cleaned,
|
||||
|
||||
Reference in New Issue
Block a user