(fix) we now respect the cr/lf in event's description (#3228)

pull/28/merge
Ludovic Marcotte 2015-07-22 14:49:09 -04:00
parent f03e7a6604
commit b7c2d8ae95
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -24,6 +24,7 @@ Bug fixes
- improved EAS email flagging handling (#3140)
- fixed computation of GlobalObjectId (#3235)
- fixed EAS conversation ID issues on BB10 (#3152)
- fixed CR/LF printing in event's description (#3228)
2.3.0 (2015-06-01)
-------------------

View File

@ -581,7 +581,7 @@ function _parseEvent(event) {
if (event[21] && event[21].length) {
descriptionCell.innerHTML = description;
descriptionCellValue.innerHTML = event[21];
descriptionCellValue.innerHTML = event[21].replace(/(?:\r\n|\r|\n)/g, '<br/>');
}
if (printColors.checked) {