This commit is contained in:
parent
7d283f1b90
commit
8c3c476fe7
|
@ -3,6 +3,11 @@
|
|||
https://github.com/josdejong/jsoneditor
|
||||
|
||||
|
||||
## not yet released, version 5.5.3
|
||||
|
||||
- Fixed #299: reverted the fix of #268 by trimming text in fields and values.
|
||||
|
||||
|
||||
## 2016-04-18, version 5.5.2
|
||||
|
||||
- Fixed #294: Fields reset their caret location on every key press in Firefox.
|
||||
|
|
|
@ -3460,7 +3460,7 @@ Node.prototype._escapeHTML = function (text) {
|
|||
* @private
|
||||
*/
|
||||
Node.prototype._unescapeHTML = function (escapedText) {
|
||||
var json = '"' + this._escapeJSON(escapedText.trim()) + '"';
|
||||
var json = '"' + this._escapeJSON(escapedText) + '"';
|
||||
var htmlEscaped = util.parse(json);
|
||||
|
||||
return htmlEscaped
|
||||
|
|
Loading…
Reference in New Issue