[tor-commits] [atlas/master] Render HTML in details page tooltips (Fixes: #24538)

irl at torproject.org irl at torproject.org
Mon Dec 11 15:13:51 UTC 2017


commit 289efd3c9110665ce90b28c26ad2b617f0778dd8
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Mon Dec 11 14:45:19 2017 +0000

    Render HTML in details page tooltips (Fixes: #24538)
---
 js/views/details/main.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/js/views/details/main.js b/js/views/details/main.js
index 22bbc27..3597dca 100644
--- a/js/views/details/main.js
+++ b/js/views/details/main.js
@@ -237,7 +237,10 @@ define([
               $("#history-tab-content").html("Graphs cannot be shown as your browser does not support Scalable Vector Graphics (SVG). This is the case when Tor Browser is in High Security mode.");
             }
 
-            $(".tip").tooltip({ placement: 'right' });
+            $(".tip").tooltip({
+              placement: 'right',
+              html: true
+            });
         },
         error: function() {
             var compiledTemplate = _.template(errorDetailsTemplate);





More information about the tor-commits mailing list