HTML5 - <font> tag is deprecated, replace by <span>

This commit is contained in:
Alexandre SPANGARO
2021-10-05 09:41:03 +02:00
parent c57aea1ead
commit edf91ce77c
10 changed files with 36 additions and 36 deletions

View File

@@ -6156,7 +6156,7 @@ function yn($yesno, $case = 1, $color = 0)
}
}
if ($color) {
return '<font class="'.$classname.'">'.$result.'</font>';
return '<span class="'.$classname.'">'.$result.'</font>';
}
return $result;
}