diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py
index 6780b527..cb5e1ef7 100644
--- a/plugins/Sidebar/SidebarPlugin.py
+++ b/plugins/Sidebar/SidebarPlugin.py
@@ -142,7 +142,7 @@ class UiWebsocketPlugin(object):
{_[Total]}:{peers_total}
- """))
+ """.replace("{local_html}", local_html)))
def sidebarRenderTransferStats(self, body, site):
recv = float(site.settings.get("bytes_recv", 0)) / 1024 / 1024
@@ -491,7 +491,7 @@ class UiWebsocketPlugin(object):
body.append(_(u"""
- """))
+ """.replace("{tag_privatekey}", tag_privatekey)))
# Choose content you want to sign
body.append(_(u"""