Changes between Initial Version and Version 1 of Ticket #9716, comment 9
- Timestamp:
- 03/16/2012 01:30:39 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9716, comment 9
initial v1 4 4 Seems line breaks have to be normalized when saving edited files. Also if line breaks are `\r`, the theme or plugin "header" becomes inaccessible. This is browser and OS dependent but seems all modern browsers work with `\n` line breaks in a textarea. So the patch can be as simple as: 5 5 {{{ 6 srt_replace( array("\r\n" '"\r"), "\n", $content );6 srt_replace( array("\r\n", "\r"), "\n", $content ); 7 7 }}} 8 8