title: Try to send html from controller Laravel and data tables
body: <h3>Summary of problem or feature request</h3>
  
  <p>I want send to the table some HTML tags like</p>
  
  <p>I use editColumn to add some HTML code to this column</p>
  
  <p>its work with <code>addColumn</code> but not with <code>editColumn</code></p>
  
  <p>the question is how I can send HTML elements to table from controller the example above didn't show the HTML tags when I need to view label</p>
  
  
  
  <h3>Code snippet of problem</h3>
  
  <pre><code> public function CustomerTicketAjax(Request $request, $id){
  
      $tickets = Customer::find($id);
      return Datatables::of(CustomerTicket::with('user')-&gt;where('customer_id', $tickets-&gt;id))
  
          -&gt;editColumn('status', function ($tickets) {
              if ($tickets-&gt;status == 1) {
                  return '&lt;span class="label bg-red" style="font-size: 21px;"&gt;open&lt;/span&gt;';
              } elseif ($tickets-&gt;status == 0) {
                  return '&lt;span class="label bg-red" style="font-size: 21px;"&gt;close&lt;/span&gt;';
              };
          })
  
          -&gt;make(true);}
  </code></pre>
  
  
  
  <h3>System details</h3>
  
  
  
  <ul>
  <li>MAC OSX</li>
  <li>PHP 7.1</li>
  <li>Laravel 5.4</li>
  <li>Laravel-Datatables 7.*</li>
  </ul>