[tor-commits] [check/master] TorButton's Test Settings requires valid XHTML.

arlo at torproject.org arlo at torproject.org
Sun Nov 24 20:16:06 UTC 2013


commit 3ef383c8e1fa477ee867cc11dfb05eac19cba548
Author: Arlo Breault <arlolra at gmail.com>
Date:   Sun Nov 24 12:15:17 2013 -0800

    TorButton's Test Settings requires valid XHTML.
    
    Reported in trac #10189.
---
 public/torbutton.html |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/public/torbutton.html b/public/torbutton.html
index 17b6b90..969f97e 100644
--- a/public/torbutton.html
+++ b/public/torbutton.html
@@ -1,5 +1,10 @@
-<!doctype html>
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+  <title>TorButton</title>
+</head>
 <body>
   <a id="TorCheckResult" target="{{ if .IsTor }}success{{ else }}failure{{ end }}" href="/"></a>
 </body>



More information about the tor-commits mailing list