Closed Caffe1neAdd1ct closed 7 years ago
Example html before minification:
<span> Click <a href="/">here</a> to see my other page. </span>
Expected:
<span>Click <a href="/">here</a> to see my other page.</span>
Actual:
<span>Click <a href="/">here</a>to see my other page.</span>
Load the library through composer and put the above html snippets into the minification call.
Not a clue, haven't started debugging through the library code yet, just reporting to see if it might be a quick fix or not.
Any help would be very much appreciated, if i get time i'll try and have a look as well. I'll link a pull request if i manage to solve this one.
Problem between seat and keyboard ...
$htmlMin->doRemoveWhitespaceAroundTags(false);
Solved, thanks for the great library :)
What is this feature about (expected vs actual behaviour)?
Example html before minification:
<span> Click <a href="/">here</a> to see my other page. </span>
Expected:
<span>Click <a href="/">here</a> to see my other page.</span>
Actual:
<span>Click <a href="/">here</a>to see my other page.</span>
How can I reproduce it?
Load the library through composer and put the above html snippets into the minification call.
Does it take minutes, hours or days to fix?
Not a clue, haven't started debugging through the library code yet, just reporting to see if it might be a quick fix or not.
Any additional information?
Any help would be very much appreciated, if i get time i'll try and have a look as well. I'll link a pull request if i manage to solve this one.