fix(telegram): preserve rich table styling

This commit is contained in:
张贵萍0668001030
2026-06-22 23:16:41 +08:00
committed by Ayaan Zaidi
parent 77eb0fdbaa
commit 8150b76b6f

View File

@@ -712,7 +712,7 @@ describe("dispatchTelegramMessage draft streaming", () => {
const preview = renderText?.("| A | B |\n| --- | --- |\n| 1 | 2 |");
expect(preview?.richMessage).toEqual(
expect.objectContaining({
html: expect.stringContaining("<table>"),
html: expect.stringContaining("<table bordered striped>"),
}),
);
});