[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 558804: Always use \r\n as newline when editing fields

Michal Čihař michal at cihar.com
Mon Jan 23 16:29:17 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: 55880451eb193f7e1bad90df365b67d54eded5a6
      https://github.com/phpmyadmin/phpmyadmin/commit/55880451eb193f7e1bad90df365b67d54eded5a6
  Author: Michal Čihař <michal at cihar.com>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M ChangeLog
    M js/makegrid.js

  Log Message:
  -----------
  Always use \r\n as newline when editing fields

Convert \n to \r\n during inline editing to be consistent with form submitted
value.

The internal browser representation has to be just \n while form submitted
value \r\n, see specification:

https://www.w3.org/TR/html5/forms.html#the-textarea-element

Fixes #12918

Signed-off-by: Michal Čihař <michal at cihar.com>




More information about the Git mailing list