Have you uploaded a theme or plugin, and then attempted to edit the files to find out there are “double line breaks” every place there should be single line breaks? It makes the files look REALLY messy huh? We have been battling this for years. Finally we decided to look closer and find a solution.
The solution is actually VERY easy. You can execute the solution from “free” NotePad++ or you can use Adobe Dreamweaver. The screenshots are from Adobe Dreamweaver CS5.5.
Step 1: Open the file with the line breaks
Step 2: Edit -> Find and Replace…
Step 2(b): Make sure you check the checkbox labeled “Use regular expression”
Step 3: Enter the following into find:
rnr
Step 4: Enter the following into replace:
rn
Step 5: Click “Replace All”
© Copyright 2024 Sethmatics Websites All Rights Reserved.
Recent Comments