[gen] Bugfixes.
This commit is contained in:
parent
934ca360cc
commit
727eec8a91
2 changed files with 5 additions and 5 deletions
|
@ -656,7 +656,7 @@ class String(Field):
|
|||
# Compute the successive changes that occurred on p_value
|
||||
res = self.getDiffValue(obj, res, language)
|
||||
elif self.format == String.TEXT:
|
||||
if layoutType != 'edit':
|
||||
if layoutType in ('view', 'cell'):
|
||||
res = obj.formatText(res, format='html')
|
||||
# If value starts with a carriage return, add a space; else, it will
|
||||
# be ignored.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue