diff --git a/core/ormcaselog.class.inc.php b/core/ormcaselog.class.inc.php index 5c10c17208..201a864415 100644 --- a/core/ormcaselog.class.inc.php +++ b/core/ormcaselog.class.inc.php @@ -55,7 +55,7 @@ class ormCaseLog { public function GetAsHTML(WebPage $oP = null, $bEditMode = false, $aTransfoHandler = null) { - $sHtml = ''; + $sHtml = '
'; // Use table-layout:fixed to force the with to be independent from the actual content $iPos = 0; for($index=count($this->m_aIndex)-1 ; $index >= 0 ; $index--) { @@ -99,7 +99,9 @@ class ormCaseLog { if (count($this->m_aIndex) == 0) { - $sHtml .= "
$sTextEntry
\n"; + $sHtml .= '
'; + $sHtml .= $sTextEntry; + $sHtml .= '
'; } else { @@ -121,6 +123,7 @@ class ormCaseLog { $sHtml .= ''; } } + $sHtml .= '
'; return $sHtml; } diff --git a/css/light-grey.css b/css/light-grey.css index 749b42a689..40f1557f3e 100644 --- a/css/light-grey.css +++ b/css/light-grey.css @@ -1025,6 +1025,11 @@ span.form_validation { border-bottom:1px #999 solid; margin-left:0; margin-right:0; + white-space: pre-wrap; /* css-3 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+, CSS3 */ } table.details { border-collapse: collapse;