Make sure outerHTML is a string for Firefox 4.