Permalink
Browse files

Unescape job.data for HTML content

  • Loading branch information...
1 parent 8d60640 commit 84c6ce5c1c6c94d223f9822fe1ba9a0c3fc2f97a @behrad behrad committed Feb 18, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/http/public/javascripts/job.js
View
3 lib/http/public/javascripts/job.js
@@ -103,7 +103,8 @@ Job.prototype.render = function (isNew) {
data = this.data[keys[i]];
if ('object' == typeof data) data = JSON.stringify(data);
var row = View('row');
- row.title(keys[i] + ':').value(data);
+// row.title(keys[i] + ':').value(data);
+ row.title(keys[i] + ':').value($('<p></p>').text(data).html());
view.data.add(row);
}

0 comments on commit 84c6ce5

Please sign in to comment.