Maintaining Line Breaks When Copying Code from PHPFreaks.com
While helping people on PHPFreaks.com, I tend to have issues copying code from their forum and pasting it into Dreamweaver. For some reason all the line breaks are removed from the code. As much as I love manually adding dozens of line breaks back into the code, there has to be a quicker solution.
For those using Microsoft Windows, you may have a software application called WordPad. Mine is located in the Start menu under All Programs > Accessories. With this application, all you need to do is
- Copy the code from PHPFreaks
- Paste it into WordPad
- Copy it from WordPad
- Paste it into Dreamweaver
As far as I can tell there isn't anything special about WordPad other than it maintains the line breaks when copying code. Also, I'm sure that this particular issue isn't specific to PHPFreaks or Dreamweaver. I would imagine that other discussion forums where code is posted will have user's experiencing the same problem.
Related Resources
- PHPFreaks.com – a discussion forum for getting help with PHP, MySQL, and other Web-related topics. Note that I'm cyberRobot on the forum.
0 Comments
There are currently no comments.
Leave a Comment