using nl2br() in Laravel 5.x

To use nl2br() function to return the new lines or html markup a data stored within your database within blade template, you should use the following format:

{!! nl2br(e($content)) !!}

 

Incoming search terms:

  • nl2br laravel
  • add nl2br in for loop in blade laravel
  • blade nl2br
  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1825 lVDWMeeM7T7RKxwAHw5nCURtlr6Xsbn7i2a3Pc2fpItv9j09dBM761q3xAV-jnV0 b3113bc9f3c208b90bb1ce2c3c1df3fa83b6863e&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme
  • laravel nl2br
  • laravel nl2br blade

Leave a Reply