|
dolibarr 25.0.0-alpha
|
Return a string label (so on 1 line only and that should not contains any HTML) ready to be output on HTML page.
Return a string label (so on 1 line only 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().
| string | $s | String to print |
| int | $escapeonlyhtmltags | 1=Escape only html tags, not the special chars like accents. |