From 5d12be940c6ed3062637be0f940a25f92702fb71 Mon Sep 17 00:00:00 2001 From: John McLear Date: Thu, 14 Mar 2013 18:28:35 -0300 Subject: [PATCH] return text instead of html --- src/static/js/pad.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)