Skip to content

Commit

Permalink
Code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 30, 2023
1 parent f7300ee commit 5d9d444
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/lib/functions.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -7337,7 +7337,7 @@ function dolGetFirstLineOfText($text, $nboflines = 1, $charset = 'UTF-8')
* @param int $nl2brmode 0=Adding br before \n, 1=Replacing \n by br
* @param bool $forxml false=Use <br>, true=Use <br />
* @return string String encoded
* @see dol_nboflines(), dolGetFirstLineOfText()
* @see dol_htmlentitiesbr(), dol_nboflines(), dolGetFirstLineOfText()
*/
function dol_nl2br($stringtoencode, $nl2brmode = 0, $forxml = false)
{
Expand Down Expand Up @@ -7461,7 +7461,7 @@ function dol_htmlwithnojs($stringtoencode, $nouseofiframesandbox = 0, $check = '
* is used to build PDF, nl2brmode must be 1.
* Note: When we output string on pages, we should use
* - dol_htmlwithnojs(dol_string_onlythesehtmltags(dol_htmlentitiesbr(), 1, 1, 1)) for notes,
* - dol_escape_htmltag() for simple labels.
* - dol_escape_htmltag(dol_htmlentitiesbr()) for simple labels.
*
* @param string $stringtoencode String to encode
* @param int $nl2brmode 0=Adding br before \n, 1=Replacing \n by br (for use with FPDF writeHTMLCell function for example)
Expand Down

0 comments on commit 5d9d444

Please sign in to comment.