[Solved]The reference to entity "version" must end with the ';' delimiter Facebook Comment di Blog

Hi share lagi neh... kali ini ada punya masalah di script blog ane...waktu mau masukin Facebook Comment ada pesan error "The reference to entity "version" must end with the ';' delimiter." nah ane guugling dah...akhirnya nemu yang pake cara mengganti "1&version" ganti menjadi "1&version" ini script lengkapnya

ini script awalnya

<div id="fb-root">
</div>
<script>
(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 = "//connect.facebook.net/en_US/sdk.js#xfbml=1&versionv2.4&appId=269379826563199";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
 Ini script yg sudah di ganti

<div id="fb-root">
</div>
<script>
(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 = "//connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version2.4&appId=269379826563199";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
tapi sayang nya masih Muncul Error


heeeempts oprek-oprek lagi akhirnya nyobain pake di parse ke XML pake CDATA karna template di blog kan modifan jadi sapa tau bisa.

ini script nya

<div id="fb-root"></div>
<script>
/* <![CDATA[ */
(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 = "//connect.facebook.net/en_US/sdk.js#xfbml=1&versionv2.4&appId=269379826563199";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
/* ]]> */
</script>
Dan hasil nya Horaaaaaaaaaaiiiiiiiii bisa...


Akhir Kata Semoga Bermanfaat Youps ^_*

Post a Comment for "[Solved]The reference to entity "version" must end with the ';' delimiter Facebook Comment di Blog"