Fix replace of all new lines.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
This commit is contained in:
parent
64926a82d2
commit
df0d48ec6c
@ -642,7 +642,7 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi
|
||||
|
||||
//Add <br> before carriage return.
|
||||
new_html = escapeHtml(new_html);
|
||||
new_html = new_html.replace('\n', '<br>\n');
|
||||
new_html = new_html.replace(/\n/g, '<br>\n');
|
||||
|
||||
//remove decimal places if column type not supported
|
||||
if (($this_field.attr('data-decimals') === 0) && ( $this_field.attr('data-type').indexOf('time') != -1)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user