Fixed #81: issue with non-breaking space characters
This commit is contained in:
parent
e302507c7a
commit
870169447f
|
@ -6,6 +6,7 @@ http://jsoneditoronline.org
|
||||||
## (not yet released), version 2.3.5
|
## (not yet released), version 2.3.5
|
||||||
|
|
||||||
- Fixed a positioning issue of the action menu again.
|
- Fixed a positioning issue of the action menu again.
|
||||||
|
- Fixed an issue with non-breaking space characters.
|
||||||
|
|
||||||
|
|
||||||
## 2013-11-19, version 2.3.4
|
## 2013-11-19, version 2.3.4
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4123,7 +4123,7 @@ Node.prototype._unescapeHTML = function (escapedText) {
|
||||||
return htmlEscaped
|
return htmlEscaped
|
||||||
.replace(/</g, '<')
|
.replace(/</g, '<')
|
||||||
.replace(/>/g, '>')
|
.replace(/>/g, '>')
|
||||||
.replace(/ /g, ' ');
|
.replace(/ |\u00A0/g, ' ');
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -2815,7 +2815,7 @@ Node.prototype._unescapeHTML = function (escapedText) {
|
||||||
return htmlEscaped
|
return htmlEscaped
|
||||||
.replace(/</g, '<')
|
.replace(/</g, '<')
|
||||||
.replace(/>/g, '>')
|
.replace(/>/g, '>')
|
||||||
.replace(/ /g, ' ');
|
.replace(/ |\u00A0/g, ' ');
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue