diff --git a/src/static/js/pad.js b/src/static/js/pad.js index 7cefc41e..60a43557 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -655,8 +655,8 @@ var pad = { { alertBar.displayMessage(function(abar) { - abar.find("#servermsgdate").html(" (" + padutils.simpleDateTime(new Date) + ")"); - abar.find("#servermsgtext").html(m.text); + abar.find("#servermsgdate").text(" (" + padutils.simpleDateTime(new Date) + ")"); + abar.find("#servermsgtext").text(m.text); }); } if (m.js)