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

[tor-commits] [tpo/staging] Remove |safe in downloads page



commit a2e12177f97a53f7cea4590e558d0514327144e4
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Thu Mar 7 13:02:23 2019 +0100

    Remove |safe in downloads page
---
 templates/download.html | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/templates/download.html b/templates/download.html
index 7c16c35..b853a1d 100644
--- a/templates/download.html
+++ b/templates/download.html
@@ -6,10 +6,12 @@
       </div>
       <h3 class="text-primary display-6 pt-5">{{ _('Get connected') }}</h3>
       <div class="row pl-3 pr-5 text-tpo">
-              <p class="text-tpo">{{ _('If you are in a country where Tor is blocked, you can <span class="text-primary text-bold">configure</span> Tor to connect to a bridge during the setup process. Select <span class="text-primary">"Tor is censored in my country."</span>')|safe }}</p>
+              <p class="text-tpo"><span class="text-primary text-bold">{{ _('If you are in a country where Tor is blocked, you can configure Tor to connect to a bridge during the setup process.') }} </span></p>
+              <p class="text-tpo">{{ _('Select "Tor is censored in my country."') }}</p>
       </div>
       <div class="row pl-3 pr-5 text-tpo">
-              <p class="text-tpo">{{ _("If Tor is not censored, one of the most common reasons Tor wonâ??t connect is an incorrect system clock. Please make sure itâ??s set correctly. Read other FAQâ??s at our <a href=\"https://support.torproject.org\";><u>Support Portal</u></a>.")|safe }}</p>
+              <p class="text-tpo">{{ _('If Tor is not censored, one of the most common reasons Tor wonâ??t connect is an incorrect system clock. Please make sure itâ??s set correctly.') }}</p>
+              <p><a href=\"https://support.torproject.org\";><u>{{ _('Read other FAQâ??s at our Support Portal') }}</u></a><p>
       </div>
     </div>
     <div class="col-sm-6">
@@ -22,7 +24,8 @@
            {{ _('Tor Browser will block browser plugins such as Flash, RealPlayer, Quicktime, and others: they can be manipulated into revealing your IP address.') }}</p>
         </div>
         <div class="row pl-3 pr-5 text-tpo">
-          <p class="text-tpo">{{ _('<b>We do not recommend installing additional add-ons or plugins</b> into Tor Browser, as these may bypass Tor or compromise your privacy. Tor Browser already comes with HTTPS Everywhere, NoScript, and other patches to protect your privacy and security.')|safe }}</p>
+          <p class="text-tpo"><b>{{ _('We do not recommend installing additional add-ons or plugins into Tor Browser') }}</b></p>
+          <p class="text-tpo">{{ _('Plugins or addons may bypass Tor or compromise your privacy. Tor Browser already comes with HTTPS Everywhere, NoScript, and other patches to protect your privacy and security.') }}</p>
         </div>
     </div>
   </div>
@@ -42,7 +45,7 @@
 </div>
 <div class="container justify-content-center mt-4">
   <div class="row justify-content-center">
-    <i class="fas fa-signature display-5 text-primary pr-3"></i><p class="text-primary text-tpo">{{ _('Verify Tor Browser signature <a class="mx-auto" href="https://support.torproject.org/how-to-verify-signature"; target="_blank"><u>here</u></a>.')|safe }}</p>
+    <i class="fas fa-signature display-5 text-primary pr-3"></i><p class="text-primary text-tpo"><a class="mx-auto" href="https://support.torproject.org/how-to-verify-signature"; target="_blank"><u>{{ _('Verify Tor Browser signature') }}</u></a></p>
   </div>
 </div>
 <div class="container">

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