summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenjamin Chodoroff <ben@theworkdept.com>2014-02-17 11:40:30 -0500
committerBenjamin Chodoroff <ben@theworkdept.com>2014-02-17 11:40:30 -0500
commit44062ae76593c889e6e9bfe3ca55bb3c16f2d58b (patch)
tree784e7ff707a7c122411f9c9104a9fcde20cbd3bc /src
parentf798e287fb80a82d0110a1b670d6383ee0c2584b (diff)
downloadetherpad-lite-44062ae76593c889e6e9bfe3ca55bb3c16f2d58b.zip
escape rendered npm package info
Diffstat (limited to 'src')
-rw-r--r--src/static/js/admin/plugins.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/admin/plugins.js b/src/static/js/admin/plugins.js
index 885c028d..e6c7a122 100644
--- a/src/static/js/admin/plugins.js
+++ b/src/static/js/admin/plugins.js
@@ -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 );