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

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 19 14:28:51 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 nacin):

 I like kurtpayne's patch, [attachment:9716.diff], but rather than an
 option, we should just detect the line endings of the current file,
 normalize them on display, and then save them based on the original
 detection.

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


More information about the wp-trac mailing list