wilsonzlin / minify-html

Extremely fast and smart HTML + JS + CSS minifier, available for Rust, Deno, Java, Node.js, Python, Ruby, and WASM
MIT License
868 stars 38 forks source link

Add option to keep escape sequences as is #182

Open codingjerk opened 9 months ago

codingjerk commented 9 months ago

minify-html minifies < to &LT (without semicolon).

I'm not sure if it breaks any standards, but it breaks HTML emails in gmail in my case.

chrispy-snps commented 5 months ago

This is definitely a bug. We encountered it too.

Ideally, this should be fixed and handled correctly by default, without any additional options needed.

Rongronggg9 commented 3 months ago

Probably duplicate of #109 and #139. But the "fix" (adding such an option) is not released yet...