title: how to prevent html encoding(special chars) in laravel?
body: <p>I have saved some html code in a my database ( using laravel 5.7 , Sqlite )
  it saved but after that i want to show it , laravel encodes the special chars.</p>
  
  <p>it have to return as a JSON string to angular without any encoding or changes.</p>
  
  <p>I just want to prevent html special chars encoding. </p>
  
  <p>I have tried this :</p>
  
  <pre><code>$post = Post::find($id);
  $content = html_entity_decode($post-&gt;content);
  
  return ['content' =&gt; $content ];
  </code></pre>
  
  <p>But it doesn't work </p>