javiergutierrezchamorro / nikkhokkho

Software Javier Gutiérrez Chamorro (Guti)
http://nikkhokkho.sourceforge.net/
7 stars 4 forks source link

RFE: Allow SVG|SVGz to be Optimized as XML|Zip When HTML Tidy Disabled #15

Open TPS opened 8 years ago

TPS commented 8 years ago

@javiergutierrezchamorro Due to https://github.com/javiergutierrezchamorro/nikkhokkho/issues/14#issue-174953891, I've HTML-Tidy disabled (temporarily, I expect), but I think there's no reason that SVG & SVGz shouldn't be optimized via the image, XML, &/or Zip (especially Leanify) toolchains, @ least optionally. Re-evaluate, please?

TPS commented 8 years ago

From https://github.com/javiergutierrezchamorro/nikkhokkho/issues/14#issuecomment-245290369

Agree. Currently enabling HTML/SVG optimization is controlled with Enable Tidy. Which in fact not only enables tidy, but also Leanify. So it is not well named. But the concept is correct. Optimizing HTML or SVG, even if behaviour gets unchanged, they are not furthermore editable, at least manually. This is why it is not enabled by default.

@javiergutierrezchamorro I understand they won't be manually editable, but that's the same w/ XML, right? So why treat SVG different than any other XML, in that sense? Also, SVGz should be recompressed via Zip toolchain, regardless of other optimizations, right?