fix(coding-agent): prevent wrapped padding in HTML export

This commit is contained in:
Mario Zechner
2026-04-27 21:49:46 +02:00
parent 2dd6399b71
commit 01e2536879
3 changed files with 6 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ describe("export HTML tool output whitespace", () => {
expect(css).toMatch(
/\.output-preview > div:not\(\.expand-hint\),\s*\.output-full > div:not\(\.expand-hint\) \{[\s\S]*?white-space:\s*pre-wrap;/,
);
expect(css).toMatch(/\.ansi-line\s*\{[\s\S]*?white-space:\s*pre;/);
expect(css).not.toMatch(/\.output-preview,\s*\.output-full\s*\{[\s\S]*?white-space:\s*pre-wrap;/);
});