mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
escape rendered npm package info
This commit is contained in:
parent
f798e287fb
commit
44062ae765
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue