type=input needs Ox.decodeHTMLEntities, fixes #2304
This commit is contained in:
parent
739da2976a
commit
c290c8bd57
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ Ox.EditableContent = function(options, self) {
|
||||||
|
|
||||||
function formatInputValue() {
|
function formatInputValue() {
|
||||||
return self.options.type == 'input'
|
return self.options.type == 'input'
|
||||||
? self.options.value
|
? Ox.decodeHTMLEntities(self.options.value)
|
||||||
: self.options.value.replace(/<br\/?><br\/?>/g, '\n\n');
|
: self.options.value.replace(/<br\/?><br\/?>/g, '\n\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue