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

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 16 01:46:41 UTC 2012


#9716: Wordpress Theme/Plugin editor adds blank lines
-----------------------------------------+------------------------------
 Reporter:  Vistronic                    |       Owner:  anonymous
     Type:  defect (bug)                 |      Status:  reopened
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Editor                       |     Version:  2.7.1
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------

Comment (by nacin):

 When we do that, we can cause problems if someone then opens up the file
 on their local OS.

 If someone were to open a \n-normalized file in Notepad, when it was
 originally \r\n, it's a bad experience. I dealt with this in GSoC two
 years ago but didn't come up with a great solution. We need to make sure
 the file displays fine but saves with the existing endings.

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


More information about the wp-trac mailing list