I use Slim as a template for my HTML email. When the nice mode is turned off during production, it puts all the HTML in one line. When emails go through Sendgrid , a line break is entered at the 998th character that breaks the HTML. Sendgrid does this according to the RFC email distribution.
How can I turn off nice mode when rendering email, tell Slim how to keep the maximum line length, or introduce strict line breaks?
source share