Merge pull request #20775 from grandoc/new_branch_04_05_2022
fix : do not display html tags into list
This commit is contained in:
commit
46254143ef
@ -2290,8 +2290,8 @@ if ($resql) {
|
|||||||
|
|
||||||
// Note public
|
// Note public
|
||||||
if (!empty($arrayfields['c.note_public']['checked'])) {
|
if (!empty($arrayfields['c.note_public']['checked'])) {
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td class="center">';
|
||||||
print dol_escape_htmltag($obj->note_public);
|
print dol_string_nohtmltag($obj->note_public);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
@ -2300,8 +2300,8 @@ if ($resql) {
|
|||||||
|
|
||||||
// Note private
|
// Note private
|
||||||
if (!empty($arrayfields['c.note_private']['checked'])) {
|
if (!empty($arrayfields['c.note_private']['checked'])) {
|
||||||
print '<td align="center" class="nowrap">';
|
print '<td class="center">';
|
||||||
print dol_escape_htmltag($obj->note_private);
|
print dol_string_nohtmltag($obj->note_private);
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
$totalarray['nbfield']++;
|
$totalarray['nbfield']++;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user