more encoding fun
This commit is contained in:
parent
2f007f19af
commit
b94ead03c6
2 changed files with 10 additions and 8 deletions
|
|
@ -460,6 +460,7 @@ oml.ui.infoView = function(identifyData) {
|
|||
Ox.EditableContent({
|
||||
clickLink: oml.clickLink,
|
||||
editable: isEditable,
|
||||
format: Ox.encodeHTMLEntities,
|
||||
tooltip: isEditable ? oml.getEditTooltip() : '',
|
||||
value: data.title || 'No Title'
|
||||
})
|
||||
|
|
@ -564,7 +565,7 @@ oml.ui.infoView = function(identifyData) {
|
|||
format: function(value) {
|
||||
return key == 'language'
|
||||
? formatValue(splitValue(value), key)
|
||||
: value;
|
||||
: Ox.encodeHTMLEntities(value);
|
||||
},
|
||||
placeholder: formatLight('unknown'),
|
||||
tooltip: isEditable ? oml.getEditTooltip() : '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue