fix(coding-agent): prevent wrapped padding in HTML export
This commit is contained in:
@@ -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;/);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user