Merge pull request #27081 from altairisfr/htmlnotes

FIX : correct display of html notes in lists
This commit is contained in:
Laurent Destailleur 2024-03-19 17:01:19 +01:00 committed by GitHub
commit fb2feb705a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View file

@ -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']++;

View file

@ -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']++;