Merge pull request #126 from bloonix/master
Replace newlines with <br/>.
This commit is contained in:
@@ -274,9 +274,10 @@ angular.module('kibana.table', [])
|
||||
replace(/&/g, '&').
|
||||
replace(/</g, '<').
|
||||
replace(/>/g, '>').
|
||||
replace(/\r?\n/g, '<br/>').
|
||||
replace(/@start-highlight@/g, '<code class="highlight">').
|
||||
replace(/@end-highlight@/g, '</code>')
|
||||
}
|
||||
return '';
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user