type=input needs Ox.decodeHTMLEntities, fixes #2304

This commit is contained in:
j 2014-02-14 11:41:09 +00:00
parent 739da2976a
commit c290c8bd57

View file

@ -160,7 +160,7 @@ Ox.EditableContent = function(options, self) {
function formatInputValue() {
return self.options.type == 'input'
? self.options.value
? Ox.decodeHTMLEntities(self.options.value)
: self.options.value.replace(/<br\/?><br\/?>/g, '\n\n');
}