Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserving of spaces after closing of an anchor tag #3

Closed
Caffe1neAdd1ct opened this issue Mar 1, 2017 · 1 comment
Closed

Preserving of spaces after closing of an anchor tag #3

Caffe1neAdd1ct opened this issue Mar 1, 2017 · 1 comment

Comments

@Caffe1neAdd1ct
Copy link

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.

@Caffe1neAdd1ct
Copy link
Author

Problem between seat and keyboard ...

$htmlMin->doRemoveWhitespaceAroundTags(false);

Solved, thanks for the great library :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant