title: SyntaxError: expected expression, got '&'
body: <p>I do a loop on my controller:</p>
  
  <pre><code>$events = '[';
  while ($init-&gt;format('w') != $agenda-&gt;day){
      $events = $events . "{title: 'test', start: '" . $init-&gt;format('Y-m-d') . "'},";
      $init-&gt;add(new DateInterval('P1D'));            
  }
  $events = $events . ']';
  </code></pre>
  
  <p>the result is this string:</p>
  
  <p><code>[{title: 'test', start: '2018-09-15'},{title: 'test', start: '2018-09-16'},]</code></p>
  
  <p>On my blade page, I have a <code>script</code> to generate a fullcalendar and I put the code on it:</p>
  
  <pre><code>events:
      {{$eventos}},
  </code></pre>
  
  <p>But inside the <code>script</code> my code change to:</p>
  
  <p><code>[{title: &amp;#039;test&amp;#039;, start: &amp;#039;2018-09-15&amp;#039;},{title: &amp;#039;test&amp;#039;, start: &amp;#039;2018-09-16&amp;#039;},]</code></p>
  
  <p>and I receive the error:</p>
  
  <blockquote>
    <p>SyntaxError: expected expression, got '&amp;'</p>
  </blockquote>
  
  <p>How to do the <code>script</code> read <code>'</code> rather than <code>&amp;#039;</code>?</p>