[tor-commits] [atlas/master] Use pre for fingerprint on bridge page too (Fixes: #21350)
irl at torproject.org
irl at torproject.org
Tue Jan 31 22:53:38 UTC 2017
commit 61dfcd6bc354e6c91a71e1bae38119c54fc6678e
Author: Iain R. Learmonth <irl at fsfe.org>
Date: Tue Jan 31 22:50:03 2017 +0000
Use pre for fingerprint on bridge page too (Fixes: #21350)
Comment from cypherpunks: "My patch only addressed the issue on the router
page. I forgot about the bridge page."
Don't feel too bad cypherpunks, so did I.
---
templates/details/bridge.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/details/bridge.html b/templates/details/bridge.html
index 963858f..d06cd21 100644
--- a/templates/details/bridge.html
+++ b/templates/details/bridge.html
@@ -40,7 +40,7 @@
<% } %>
<dt><span class="tip" title="Hash of 20-byte unique identifier of the bridge." data-original-title="Hashed Fingerprint">Hashed Fingerprint</span></dt>
- <dd><tt><%= relay.get('fingerprint').replace(/(.{20})/g,"$1") %></tt></dd>
+ <dd><pre><%= relay.get('fingerprint') %></pre></dd>
<dt><span class="tip" title="Flags that the directory authorities assigned to this bridge." data-original-title="Bridge flags">Flags</span></dt>
<dd><% _.each(relay.get('flags'), function(flag) { %>
More information about the tor-commits
mailing list