mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fixed problem pointed out by Necky(T.Okabuchi) <neckyegw(at)wanaya.jp>
This commit is contained in:
parent
082f21d3e6
commit
75850fd66b
@ -1153,8 +1153,10 @@ class etemplate extends boetemplate
|
|||||||
case 'htmlarea': // Multiline formatted Text Input, size: {simple|extended|advanced},height,width,toolbar-expanded,upload-path
|
case 'htmlarea': // Multiline formatted Text Input, size: {simple|extended|advanced},height,width,toolbar-expanded,upload-path
|
||||||
list($mode,$height,$width,$toolbar,$baseref,$convertnl) = explode(',',$cell_options);
|
list($mode,$height,$width,$toolbar,$baseref,$convertnl) = explode(',',$cell_options);
|
||||||
|
|
||||||
if ($convertnl == 1) $value = nl2br($value);
|
if ($convertnl)
|
||||||
|
{
|
||||||
|
$value = nl2br(html::htmlspecialchars($value));
|
||||||
|
}
|
||||||
if (!$readonly)
|
if (!$readonly)
|
||||||
{
|
{
|
||||||
$mode = $mode ? $mode : 'simple';
|
$mode = $mode ? $mode : 'simple';
|
||||||
|
Loading…
Reference in New Issue
Block a user