[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [exonerator/master] Allow fingerprints to be wrapped.



commit 68c45492155eedb21125dce85fea6b1528ec8327
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Wed Jul 15 10:15:10 2015 +0200

    Allow fingerprints to be wrapped.
---
 src/org/torproject/exonerator/ExoneraTorServlet.java |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/org/torproject/exonerator/ExoneraTorServlet.java b/src/org/torproject/exonerator/ExoneraTorServlet.java
index a8698ae..7d87fd6 100644
--- a/src/org/torproject/exonerator/ExoneraTorServlet.java
+++ b/src/org/torproject/exonerator/ExoneraTorServlet.java
@@ -769,7 +769,10 @@ public class ExoneraTorServlet extends HttpServlet {
       out.print("<tr>");
       for (int i = 0; i < tableRow.length; i++) {
         String content = tableRow[i];
-        if (i == 3 && content == null) {
+        if (i == 2) {
+          content = content.substring(0, 20) + "&#8203;"
+              + content.substring(20, 40);
+        } else if (i == 3 && content == null) {
           content = "("
               + rb.getString("technicaldetails.nickname.unknown") + ")";
         } else if (i == 4) {

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits