Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(telegram): strip existing bold markers in table conversion to prevent overlapping HTML tags
Jiayuan Zhang4c1365ff7575
diff --git a/apps/gateway/telegram/telegram-format.ts b/apps/gateway/telegram/telegram-format.tsindex 2b3c305eac..c9c11e37a3 100644--- a/apps/gateway/telegram/telegram-format.ts+++ b/apps/gateway/telegram/telegram-format.ts@@ -68,8 +68,9 @@ function convertTableBlock(tableLines: string[]): string {if (cells.length === 0) continue;const parts: string[] = [];- // First column as bold title- parts.push(`**${cells[0]}**`);+ // First column as bold title — strip existing ** to avoid double-wrapping+ const title = cells[0]!.replace(/^\*+|\*+$/g, "");+ parts.push(`**${title}**`);// Remaining columns as "Header: Value"for (let j = 1; j < Math.min(headers.length, cells.length); j++) {const val = cells[j]?.trim();