Round Rock / Austin, Texas
Drupal Web Developer

How to Fix Double Spacing in Dreamweaver

How to Fix Double Spacing in Dreamweaver

I recently ran into a problem where Dreamweaver was double spacing my code. I had been going back and forth between 2 Windows machines but one of them had been using a Mac keyboard. Found this helpful tidbit online and it solved my problem.

Do a search and replace:
Search for: [\r\n]{2,}
Replace with: \n

Be sure to check off "Use regular expression"

Fix double spacing in Dreamweaver