Fix node html compression and refactor registry

This commit is contained in:
Nick O'Leary
2014-07-28 16:37:39 +01:00
parent 3d31a0abca
commit e07a523c3b
4 changed files with 148 additions and 111 deletions

View File

@@ -400,7 +400,7 @@
},
button: {
onclick: function() {
var label = (this.name||this.payload).replace(/&/g,"&amp;amp;").replace(/</g,"&amp;lt;").replace(/>/g,"&amp;gt;");
var label = (this.name||this.payload).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;");
d3.xhr("inject/"+this.id).post(function(err,resp) {
if (err) {
if (err.status == 404) {