Double line breaks after downloading files from webserver
I have a few PHP files I made with PhpStorm, I automatically uploaded them to the webserver yesterday with PhpStorm.
Today, I downloaded them with FlashFXP and when I open them again in PhpStorm, the line breaks have doubled.
Before:
<div>
<a href=#>example</a>
<span>text</span>
</div>
After:
<div>
<a href=#>example</a>
<span>text</span>
</div>
What happened and how can I solve and prevent this?
Thanks.
请先登录再写评论。
Hello Gregory,
What if you download the file back with PhpStorm, will double line breaks appear?
Regards,
Kirill
Yes, but they were uploaded automatically, so it doesn't make a difference.
Hello Gregory,
I cannot reproduce the problem so I need to request some more details from you:
1. Please attach original file and resulting one with linebreaks doubled
2. After original file is uploaded, please open context menu for it and invoke Deployment | Compare with Deployed Version action. Will it show any difference?
3. Please provide screenshot of File | Settings | Encoding dialog page.
Regards,
Kirill