[Vuejs]-How to preserve new line \n with laravel sanitizer

0👍

I think you need to convert the \n to be. you can do something like this:

<?php
echo nl2br("foo isn't\n bar");
?>

Leave a comment