mirror of https://github.com/keeweb/keeweb.git
fix multi-line fields display in history
This commit is contained in:
parent
5d0556debc
commit
07df05304e
|
@ -2,7 +2,9 @@ const FieldView = require('./field-view');
|
|||
|
||||
const FieldViewReadOnly = FieldView.extend({
|
||||
renderValue(value) {
|
||||
return value.isProtected ? new Array(value.textLength + 1).join('•') : _.escape(value);
|
||||
value = value.isProtected ? new Array(value.textLength + 1).join('•') : _.escape(value);
|
||||
value = value.replace(/\n/g, '<br/>');
|
||||
return value;
|
||||
},
|
||||
|
||||
readonly: true
|
||||
|
|
|
@ -3,6 +3,7 @@ Release notes
|
|||
##### v1.11.0 (TBD)
|
||||
`+` #1226: 7-digit Authy OTP support
|
||||
`-` fix #764: multiple attachments display
|
||||
`-` fix multi-line fields display in history
|
||||
|
||||
##### v1.10.0 (2019-09-09)
|
||||
`+` macOS Dark theme
|
||||
|
|
Loading…
Reference in New Issue