Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Limit Line Length (For email) #200

Open
stellarpower opened this issue Sep 4, 2024 · 0 comments
Open

FR: Limit Line Length (For email) #200

stellarpower opened this issue Sep 4, 2024 · 0 comments

Comments

@stellarpower
Copy link

Hi,

I'd like to minify some HTML that will be included in an email message.

Because of this, the line length the server will accept is limited according to RFC 2822. It seems by default the output is across one line (makes total sense).

It'd be really useful to have a tool with the understanding of minification and what can break formatting, what is equivalent, etc. - but also that can then split the HTML into a given line length limit without then risking adding whitespace that will be rendered. I fear trying to achieve this in two parts using separate tools will risk losing the value added by the other.

Is a limit on the length of lines that htmlmin will output something that could be added?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant