diff --git a/mozilla/xpfe/global/resources/content/commonDialog.js b/mozilla/xpfe/global/resources/content/commonDialog.js index da5cf85e7df..62165c79277 100644 --- a/mozilla/xpfe/global/resources/content/commonDialog.js +++ b/mozilla/xpfe/global/resources/content/commonDialog.js @@ -58,9 +58,10 @@ function commonDialogOnLoad() done = true; messageFragment = messageText; } - var textnode = document.createElement("text"); - textnode.setAttribute("value", messageFragment); - messageParent.appendChild(textnode); + var textnode = document.createTextNode(messageFragment); + var htmlnode = document.createElement("html"); + htmlnode.appendChild(textnode); + messageParent.appendChild(htmlnode); } } var msg = param.GetString( 3 );