wilsonzlin / minify-html

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

Add option to keep escape sequences as is #182

Open codingjerk opened 8 months ago

codingjerk commented 8 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 4 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 2 months ago

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