If you don't want to use outerHTML, you can also do the following for IE, if an additional pre tag is not an issue:
if(isIE)
document.getElementById("putItHere").innerHTML = "" + content+"
";
else
document.getElementById("putItHere").innerHTML = content;