Comments on: How to Get Rid of Empty Lines of Code in Any Text Editor https://wpshout.com/remove-empty-lines-of-code/ A hub for advanced WordPress users, developers & savvy business owners. Tue, 12 May 2020 16:30:07 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Andrea Bizioli https://wpshout.com/remove-empty-lines-of-code/#comment-21414 Tue, 12 May 2020 16:30:07 +0000 https://wpshout.com/?post_type=quick_guide&p=14232#comment-21414 I use PSPad editor for this task, it has an integrated “Delete empty lines” function that works flawlessly

]]>
By: John https://wpshout.com/remove-empty-lines-of-code/#comment-21413 Sat, 02 May 2020 09:03:50 +0000 https://wpshout.com/?post_type=quick_guide&p=14232#comment-21413 For CSS I use notepad++. In search and replace search for ^\r and replace with \n
Make sure regular expression is selected. This replaces all blank lines and makes editing easy. Not sure why you would need any blank lines at all. I would be interested to know.

]]>
By: Christina https://wpshout.com/remove-empty-lines-of-code/#comment-21412 Sat, 30 Mar 2019 16:09:03 +0000 https://wpshout.com/?post_type=quick_guide&p=14232#comment-21412 You are a lifesaver lol!! Funny how such a simple thing could be so frustrating and so easily fixed. And I’m not sure of WHY it happens, but I have noticed it happens with my FTP files in FileZilla, so Mark may be on to something.

]]>
By: Mark https://wpshout.com/remove-empty-lines-of-code/#comment-21411 Wed, 18 Oct 2017 12:27:12 +0000 https://wpshout.com/?post_type=quick_guide&p=14232#comment-21411 Multiple line spacing often happens because FileZilla is not using binary transfer mode. It usually occurs when the data is transferred over FTP, in ASCII mode. In FileZilla the setting is in Edit > Settings > Transfers > File Types > Default transfer type > Binary.

]]>