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

File contains '\n' and '\r\n' #45

Open
adammockor opened this issue May 23, 2015 · 1 comment
Open

File contains '\n' and '\r\n' #45

adammockor opened this issue May 23, 2015 · 1 comment

Comments

@adammockor
Copy link

If your html file contains '\n' and '\r\n', file is not processed as should be.

Example use case can be when you importing svg to html created on windows and html is created and builded on Mac.

@maskedcoder
Copy link

+1

This is a rather pesky bug--took me 4 or 5 hours to figure out I had the same problem. To clarify the description: assets are gathered as normal, but the output HTML is not changed in the slightest.

In my use case, it was one of my other plugins that was using a different newline character. Replacing all '\r\n' with '\n' is a fairly easy workaround, though.

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

2 participants