decode more html entities
This commit is contained in:
parent
bdcd935c3e
commit
2f007f19af
1 changed files with 5 additions and 2 deletions
|
@ -640,7 +640,10 @@ oml.ui.infoView = function(identifyData) {
|
|||
})
|
||||
.bindEvent({
|
||||
submit: function(event) {
|
||||
editMetadata('description', event.value);
|
||||
editMetadata(
|
||||
'description',
|
||||
event.value.replace(/<br>/g, '\n')
|
||||
);
|
||||
}
|
||||
})
|
||||
).appendTo($info);
|
||||
|
@ -728,7 +731,7 @@ oml.ui.infoView = function(identifyData) {
|
|||
if (Ox.contains(arrayKeys, key)) {
|
||||
edit[key] = value ? splitValue(value) : [];
|
||||
} else {
|
||||
edit[key] = value;
|
||||
edit[key] = Ox.decodeHTMLEntities(value);
|
||||
}
|
||||
oml.api.edit(edit, function(result) {
|
||||
Ox.Request.clearCache();
|
||||
|
|
Loading…
Reference in a new issue