dolibarr 25.0.0-alpha
div

Return a string label (possible on several lines and that should not contains any HTML) ready to be output on HTML page.

Return a string label (possible on several lines and that should not contains any HTML) ready to be output on HTML page.To use text that is not HTML content inside an attribute, you can simply use only dol_escape_htmltag(). In doubt, use dolPrintHTMLForAttribute().

Parameters
string$sString to print
Returns
string String ready for HTML output
See also
dolPrintLabel(), dolPrintHTML() class="description"><?php echo dolPrintText($object->description); ?>