title: I received the error "ParseError thrown syntax error, unexpected '<', expecting end of file"
body: <p>I received the error "ParseError thrown syntax error, unexpected '&lt;', expecting end of file" while trying to add a snippet to my wordpress website. I did not write this code. It was provided via Facebook to add Messenger to my website. </p>
  
  <p>I look at other questions with the same error and tried to use some of the solutions but it did not work. </p>
  
  <pre><code>&lt;!-- Load Facebook SDK for JavaScript --&gt;
  &lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script&gt;
  window.fbAsyncInit = function() {
  FB.init({
  xfbml            : true,
  version          : 'v5.0'
  });
  };
  
  (function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = 
  'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js';
  fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));&lt;/script&gt;
  
  &lt;!-- Your customer chat code --&gt;
  &lt;div class="fb-customerchat"
  attribution=setup_tool
  page_id="951491424998531"
  theme_color="#BE99E8"
  logged_in_greeting="Hey! Do you have any questions about our 
  upcoming trips?"
  logged_out_greeting="Hey! Do you have any questions about our 
  upcoming trips?"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I expect the snippet to save and Facebook messenger to be on my website.</p>