Replace html tags separately in sidebar html as it would be escaped otherwise
This commit is contained in:
parent
46e694a5c8
commit
5d0bf2e80b
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ class UiWebsocketPlugin(object):
|
|||
<li class='color-black'><span>{_[Total]}:</span><b>{peers_total}</b></li>
|
||||
</ul>
|
||||
</li>
|
||||
"""))
|
||||
""".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"""
|
||||
<li>
|
||||
<label>{_[Content publishing]} <small class='label-right'>{tag_privatekey}</small></label>
|
||||
"""))
|
||||
""".replace("{tag_privatekey}", tag_privatekey)))
|
||||
|
||||
# Choose content you want to sign
|
||||
body.append(_(u"""
|
||||
|
|
Loading…
Reference in a new issue