title: Replace &#039 with ' in javascript
body: <p>I have a javascript variable that fills with Laravel translation system:</p>
  
  <pre><code>'are_you_sure' =&gt; '¿Remplacer l\'arbre?',
  </code></pre>
  
  <p>and then in JS: </p>
  
  <pre><code>swal({
            title: "{{ trans('msg.are_you_sure') }}",
            ...
  
      });
  </code></pre>
  
  <p>And it appears to me: </p>
  
  <p><code>¿Remplacer l&amp;#039;arbre?</code></p>
  
  <p>EDIT:</p>
  
  <p>Sorry for <code>htmlspecialchars</code>, the thing is it doesn't change removing <code>htmlspecialchars</code>, adding it, or adding <code>htmlspecialchars_decode</code></p>