escape rendered npm package info

pull/2086/head
Benjamin Chodoroff 2014-02-17 11:40:30 -05:00
parent f798e287fb
commit 44062ae765
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ $(document).ready(function () {
if(attr == "name"){ // Hack to rewrite URLS into name
row.find(".name").html("<a target='_blank' title='Plugin details' href='https://npmjs.org/package/"+plugin['name']+"'>"+plugin['name'].substr(3)+"</a>"); // remove 'ep_'
}else{
row.find("." + attr).html(plugin[attr]);
row.find("." + attr).text(plugin[attr]);
}
}
row.find(".version").html( plugin.version );