TakWolf / ark-pixel-font

Open source Pan-CJK pixel font / 开源的泛中日韩像素字体
http://ark-pixel-font.takwolf.com/
MIT License
3.27k stars 65 forks source link

依赖的 CSS 压缩组件存在 BUG #29

Closed TakWolf closed 1 year ago

TakWolf commented 1 year ago

https://github.com/TakWolf/ark-pixel-font/blob/2ae7a464d3c768f03fd4b0ae682d28f2fa1a635d/services/html_service.py#L90-L91

minify_html 的 css 压缩存在 BUG,会改变语意

上游跟踪: https://github.com/wilsonzlin/minify-html/issues/132 https://github.com/Mnwa/css-minify/issues/7

TakWolf commented 1 year ago

minify_html=0.10.8 css-minify=0.3.1 css 压缩有问题

https://github.com/Mnwa/css-minify/issues/11

TakWolf commented 1 year ago

已经彻底移除 html 压缩组件,根本上杜绝隐患