diff --git a/htdocs/core/class/extrafields.class.php b/htdocs/core/class/extrafields.class.php index 5545dc7cd5d..5897427fe27 100644 --- a/htdocs/core/class/extrafields.class.php +++ b/htdocs/core/class/extrafields.class.php @@ -1035,6 +1035,10 @@ class ExtraFields } } } + if ($type == 'text') + { + $value=nl2br($value); + } else { $showsize=round($size);