[tor-commits] [webwml/master] Escaping equals sign in viewport

hiro at torproject.org hiro at torproject.org
Thu Aug 24 14:22:29 UTC 2017

commit e670475bcd5d84bfcc58440469d20c5280dfc800
Author: hiromipaw <hiro at torproject.org>
Date:   Thu Aug 24 16:21:44 2017 +0200

    Escaping equals sign in viewport
 include/head.wmi | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/include/head.wmi b/include/head.wmi
index 57081b2c..dc4d5e26 100644
--- a/include/head.wmi
+++ b/include/head.wmi
@@ -6,18 +6,22 @@
 #use "versions.wmi"
 #use "navigation.wmi"
+<define-tag viewport whitespace=delete>
+<meta name="viewport" content="width\=device-width, initial-scale=1">
 <!DOCTYPE html>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-   <meta name="viewport" content="width=device-width, initial-scale=1">
+   <viewport>
    <meta name="author" content="The Tor Project, Inc.">
    <meta name="description" content="The Tor Project's free software protects your privacy online. Site blocked? Email [mailto:gettor at torproject.org] for help downloading Tor Browser.">
    <meta name="keywords" content="tor, tor project, tor browser, avoid censorship, traffic analysis, anonymous communications, privacy, avoid surveillance, online security, anonymous online, private browsing, anonymity online, online privacy, protect privacy, private mac browser, private windows browser, private android browser, linux browser, anonymity network, tor network, onion router, onion browser">
    <meta property="og:image" content="https://www.torproject.org/images/tor-logo.jpg">
-   <meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' payments-amazon.com">
@@ -40,7 +44,7 @@
    <!--[if IE 6]>
    <link href="$(DOCROOT)/css/ie6.min.css" rel="stylesheet">
- #  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
+   #  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
    # end WML to generate css/js paths

More information about the tor-commits mailing list