Browse code

Escaping equals sign in viewport

hiromipaw authored on24/08/2017 16:16:17
Showing3 changed files
... ...
@@ -26,7 +26,6 @@ WMIFILES=$(wildcard $(patsubst %, %/*.wmi, $(LANGS)) $(WMLBASE)/include/*.wmi )
26 26
 HTMLFILES=$(shell perl -le 's,  (.*)/(.*).wml  ,        $$2.html.$$1    ,x, print $$_ for @ARGV' $(WMLFILES))
27 27
 DEPFILES=$(shell perl -le 's,  (.*)/(.*).wml  ,  .deps/$$2.html.$$1.d  ,x, print $$_ for @ARGV' $(WMLFILES))
28 28
 
29
-
30 29
 all: $(HTMLFILES)
31 30
 
32 31
 %.html.en: en/%.wml
... ...
@@ -4,6 +4,7 @@
4 4
 
5 5
 #include "head.wmi" TITLE="Tor Project: Anonymity Online" CHARSET="UTF-8"
6 6
 
7
+
7 8
 <div id="home">
8 9
     <div id="content" class="clearfix">
9 10
     	<div id="maincol">
... ...
@@ -6,18 +6,22 @@
6 6
 #use "versions.wmi"
7 7
 #use "navigation.wmi"
8 8
 
9
+<define-tag viewport whitespace=delete>
10
+<meta name="viewport" content="width\=device-width, initial-scale=1">
11
+</define-tag>
12
+
13
+
9 14
 <!DOCTYPE html>
10 15
  <html>
11 16
  <head>
12 17
 
13 18
    <meta charset="utf-8">
14 19
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
15
-   <meta name="viewport" content="width=device-width, initial-scale=1">
20
+   <viewport>
16 21
    <meta name="author" content="The Tor Project, Inc.">
17 22
    <meta name="description" content="The Tor Project's free software protects your privacy online. Site blocked? Email [mailto:gettor@torproject.org] for help downloading Tor Browser.">
18 23
    <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">
19 24
    <meta property="og:image" content="https://www.torproject.org/images/tor-logo.jpg">
20
-   <meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://static-na.payments-amazon.com">
21 25
 {#meta#}
22 26
 
23 27
    <title>$(TITLE)</title>
... ...
@@ -40,7 +44,7 @@
40 44
    <!--[if IE 6]>
41 45
    <link href="$(DOCROOT)/css/ie6.min.css" rel="stylesheet">
42 46
    <![endif]-->
43
- #  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
47
+   #  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
44 48
    # end WML to generate css/js paths
45 49
 </head>
46 50
 <body>