Fix Javascript Injection bugs.

This commit is contained in:
Paulo Gustavo Veiga
2012-08-29 19:42:24 -03:00
parent d54a689ace
commit 96de014d52
5 changed files with 9 additions and 28 deletions

View File

@@ -58,7 +58,7 @@
bUseRendered:false,
mDataProp:"title",
fnRender:function (obj) {
return '<a href="c/maps/' + obj.aData.id + '/edit">' + obj.aData.title + '</a>';
return $('<a href="c/maps/' + obj.aData.id + '/edit"></a>').text(obj.aData.title).html();
}
},
{