Merge pull request #27081 from altairisfr/htmlnotes
FIX : correct display of html notes in lists
This commit is contained in:
commit
fb2feb705a
2 changed files with 8 additions and 8 deletions
|
|
@ -2313,8 +2313,8 @@ while ($i < $imaxinloop) {
|
|||
}
|
||||
// Note public
|
||||
if (!empty($arrayfields['p.note_public']['checked'])) {
|
||||
print '<td class="center">';
|
||||
print dol_string_nohtmltag($obj->note_public);
|
||||
print '<td class="sensiblehtmlcontent center">';
|
||||
print dolPrintHTML($obj->note_public);
|
||||
print '</td>';
|
||||
if (!$i) {
|
||||
$totalarray['nbfield']++;
|
||||
|
|
@ -2322,8 +2322,8 @@ while ($i < $imaxinloop) {
|
|||
}
|
||||
// Note private
|
||||
if (!empty($arrayfields['p.note_private']['checked'])) {
|
||||
print '<td class="center">';
|
||||
print dol_string_nohtmltag($obj->note_private);
|
||||
print '<td class="sensiblehtmlcontent center">';
|
||||
print dolPrintHTML($obj->note_private);
|
||||
print '</td>';
|
||||
if (!$i) {
|
||||
$totalarray['nbfield']++;
|
||||
|
|
|
|||
|
|
@ -2614,8 +2614,8 @@ while ($i < $imaxinloop) {
|
|||
|
||||
// Note public
|
||||
if (!empty($arrayfields['c.note_public']['checked'])) {
|
||||
print '<td class="center">';
|
||||
print dol_string_nohtmltag($obj->note_public);
|
||||
print '<td class="sensiblehtmlcontent center">';
|
||||
print dolPrintHTML($obj->note_public);
|
||||
print '</td>';
|
||||
if (!$i) {
|
||||
$totalarray['nbfield']++;
|
||||
|
|
@ -2624,8 +2624,8 @@ while ($i < $imaxinloop) {
|
|||
|
||||
// Note private
|
||||
if (!empty($arrayfields['c.note_private']['checked'])) {
|
||||
print '<td class="center">';
|
||||
print dol_string_nohtmltag($obj->note_private);
|
||||
print '<td class="sensiblehtmlcontent center">';
|
||||
print dolPrintHTML($obj->note_private);
|
||||
print '</td>';
|
||||
if (!$i) {
|
||||
$totalarray['nbfield']++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue