Error parsing XML, row 3147, column 2: The Markup in the Document following the root element must be well-Formed

Asked

Viewed 337 times

1

I’m making some changes to a blog and this error appears when I try to save. The line where he says the mistake is the second.

<!--Copyright-->
<div id='copyrights'> 
<div class='margin-1200'>
  <p>Coprights @ 2016, <a href='http://www.templateism.com' id='mycontent'>Blogger Template</a> Designed By Templateism | <a href='https://templatelib.com'>Templatelib</a></p>
  </div>  
</div>


<script>(function(d,e,s){if(d.getElementById(&quot;likebtn_wjs&quot;))return;a=d.createElement(e);m=d.getElementsByTagName(e)[0];a.async=1;a.id=&quot;likebtn_wjs&quot;;a.src=s;m.parentNode.insertBefore(a, m)})(document,&quot;script&quot;,&quot;//w.likebtn.com/js/w/widget.js&quot;);</script>
  </div>
</body>
</html>

What do I have to do to make it go away? BS: I don’t know ANYTHING html, so anyone who can help me, thank you.

  • 1

    Are you sure <div id='copyrights'> is line 3147?

  • 3

    Could not reproduce the error with the code posted. Please [Edit] your question with all relevant parts. Here are some important readings to see how to better tailor your post and increase the chance of getting help: [Tour], [Ask], [Help] and mainly, how to create a [Mcve].

1 answer

0

@Maria Santos, only with this passage it is difficult to give an exact answer, however it offers some elements that may be useful.

First step to uncompromise this section of Javascript:

Change : //w.likebtn.com/js/w/widget.js&quot;);</script>

For : w.likebtn.com/js/w/widget.js&quot;);</script>

Remove these two bars "//".

It does this and comments the result below the answer that we adjust.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.