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

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



commit 3ef383c8e1fa477ee867cc11dfb05eac19cba548
Author: Arlo Breault <arlolra@xxxxxxxxx>
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>

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