Closed lionralfs closed 6 years ago
This closes #740 and #770 as it transforms \n to <br> tags when used like this:
\n
<br>
swal('Hello\nWorld');
Implementation might look a little funky, but I wanted to stay away from .innerHTML.
.innerHTML
Also: tests 😁
Awesome. And you even added a test ❤️
This closes #740 and #770 as it transforms
\n
to<br>
tags when used like this:Implementation might look a little funky, but I wanted to stay away from
.innerHTML
.Also: tests 😁