JS converte caracteres especiais em entidades HTML
// Add this function to your code
function HtmlEncode(s)
{
var el = document.createElement("div");
el.innerText = el.textContent = s;
s = el.innerHTML;
return s;
}
// Execute the function like this
HtmlEncode("Good Mornin'!")
Homemadesteam58