We were resetting some of the styling in chunkToDocE deep in the pretty-printer code. This was affecting table headers, where we were theming aligned docs. Imagine the call looked a bit like this:
theme $ ... $ chunkToDocE $ ... $ tableHeader
Since chunkToDocE was removing old Ansi codes, the tableHeader ended up unstyled.
We were resetting some of the styling in
chunkToDocE
deep in the pretty-printer code. This was affecting table headers, where we were theming aligned docs. Imagine the call looked a bit like this:Since
chunkToDocE
was removing old Ansi codes, thetableHeader
ended up unstyled.