Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Blank lines at end of files

Jargon
2011-12-08
2013-06-06
  • Jargon
    Jargon
    2011-12-08

    Several of the files include blank lines after the closing ?> delimiter, and in some cases these carry through to the front-end of the site. If that output happens to be a .xml file, then it moves the XML declaration off the first line, which is an error.

    Can the blank lines be deleted, or the trailing ?> be removed (as is common practice in several of the large PHP frameworks)?