sashamoshura / htmlcompressor

Automatically exported from code.google.com/p/htmlcompressor
Apache License 2.0
0 stars 0 forks source link

Basic broken line doesn't get a space #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
With Default settings compress the attached html file.

You end up with the following:

"This line getssmooshed together"

A missing space between "gets" and "smooshed".

Original issue reported on code.google.com by john.feu...@gmail.com on 30 Mar 2010 at 11:04

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, I can't reproduce it. On which OS are you experiencing this issue and 
how 
exactly are you calling the compressor (through command line, inside template, 
directly 
in code)? If directly in code then how are you retrieving html?

In my tests "A\r\nB" becomes "A B" (your case),
"A\nB" => "A\nB"
"A\rB" => "A\rB"

Original comment by serg472@gmail.com on 31 Mar 2010 at 12:34

GoogleCodeExporter commented 8 years ago

Original comment by serg472@gmail.com on 16 Apr 2010 at 5:12