[wp-trac] [WordPress Trac] #9716: WordPress Theme/Plugin editor adds blank lines

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 20 03:26:44 UTC 2012


#9716: WordPress Theme/Plugin editor adds blank lines
-------------------------------------+-----------------------------
 Reporter:  Vistronic                |       Owner:  anonymous
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  Future Release
Component:  Editor                   |     Version:  2.7.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------------

Comment (by azaozz):

 Replying to [comment:19 nacin]:
 > Standardizing on \r\n is really lame for anyone not on Windows.

 Seems to work fine on MacOS and probably most text editors on Linux (i.e.
 EOL style doesn't matter, text is displayed properly). Also works for all
 types of IDE enabled editors on any platform. Actually the only commonly
 used text editor that seems to have a problem with EOLs is Notepad.
 However agree that more tests/feedback is needed.

 Leaving mixed line endings when different people edit the same file
 offline is a lot worse imho.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9716#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list