summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2012-11-24 10:16:52 -0800
committerJohn McLear <john@mclear.co.uk>2012-11-24 10:16:52 -0800
commit22c6fd08864f5b26ad8585ab8909e5c2fda367c2 (patch)
treee214d56d0965d8e0d183347a41eae87c8e4a31e3
parent1899e3f48d4bd15cd5440190f96e054b6244be29 (diff)
parent6d5907562dc62fca7b7a4f34dd479d393bd01fd9 (diff)
downloadetherpad-lite-22c6fd08864f5b26ad8585ab8909e5c2fda367c2.zip
Merge pull request #1208 from joker-x/fix1203
Fix #1203: non-escaped html in plugins info
-rw-r--r--src/templates/admin/plugins-info.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templates/admin/plugins-info.html b/src/templates/admin/plugins-info.html
index 22f87073..94f94e2a 100644
--- a/src/templates/admin/plugins-info.html
+++ b/src/templates/admin/plugins-info.html
@@ -14,17 +14,17 @@
<div class="separator"></div>
<h2>Installed plugins</h2>
- <pre><%= plugins.formatPlugins() %></pre>
+ <pre><%- plugins.formatPlugins().replace(", ","\n") %></pre>
<h2>Installed parts</h2>
<pre><%= plugins.formatParts() %></pre>
<h2>Installed hooks</h2>
<h3>Server side hooks</h3>
- <div><%= plugins.formatHooks() %></div>
+ <div><%- plugins.formatHooks() %></div>
<h3>Client side hooks</h3>
- <div><%= plugins.formatHooks("client_hooks") %></div>
+ <div><%- plugins.formatHooks("client_hooks") %></div>
</div>
</body>
</html>