You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mike Byrne edited this page Mar 14, 2023
·
1 revision
description
Introduced 3.1.0
This function is similar to PHP's nl2br(), inserts HTML line breaks (<br>) before all newlines in a string
requires
nothing
parameters
str - required - text string to insert HTML line breaks into
replaceMode - optional - boolean - defaults to true - replace new line characters with <br>, if set to false, <br> are inserted and new line characters are left in the string