Method nl2br documentation

Replaces all new line characters '\ n' with html tag '
'.

Example

```javascript bbn.fn.nl2br('hello \n world!'); //"hello
world!" ```

Replaces all new line characters '\ n' with html tag '
'. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.