lewisje / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Minify_HTML malforming non-breaking space entity #224

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
"html minimization seems to generate some errors"

Thread and link to patch: 
http://groups.google.com/group/minify/browse_thread/thread/bafc52c0fb5c0f0a

Original issue reported on code.google.com by mrclay....@gmail.com on 4 Mar 2011 at 1:31

Attachments:

GoogleCodeExporter commented 9 years ago
hey steve
i have attached how non-minified version is and what minification renders (w/o 
the patch)
thanks

Original comment by gob...@gmail.com on 4 Mar 2011 at 4:19

Attachments:

GoogleCodeExporter commented 9 years ago
I don't see how Minify could break the entity in that case (but I'll try it as 
soon as I can). 

Is it possible you are passing in markup in a character encoding incompatible 
with UTF-8? Minify should be able to handle UTF-8 and most ISO8859-*.

Original comment by mrclay....@gmail.com on 4 Mar 2011 at 6:53

GoogleCodeExporter commented 9 years ago
Sorry for my delay, or rather I was expecting to receive a notification 
whenever the issue was updated.

Anyway, none utf-8 incompatible characters are passed. Without my plugin pages 
rendered without such mangled characters.

Attached is a better version as my last take removed all spaces between tags 
and resulted in some oddities.

Original comment by gob...@gmail.com on 11 Mar 2011 at 8:56

Attachments:

GoogleCodeExporter commented 9 years ago
I cannot duplicate this bug. "<p> </p>" is not altered in any way. Can you 
tell me more about your system?

Original comment by mrclay....@gmail.com on 23 Jun 2011 at 10:01