[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

web: fix HTML 4.01 validation (issue 316060043 by address@hidden)

From: graham
Subject: web: fix HTML 4.01 validation (issue 316060043 by address@hidden)
Date: Wed, 28 Dec 2016 18:54:21 -0800

Reviewers: ,

I don't think this needs a review; it's a trivial fix.

If you want to check it in
then you can use fails the validation due to this.

web: fix HTML 4.01 validation

This was broken in 9580a231b3d3f912f46066009114a2929ecbb16a.

Please review this at

Affected files (+1, -1 lines):
  M scripts/build/

Index: scripts/build/
diff --git a/scripts/build/ b/scripts/build/
index 9fba75445fd86e0e219fc52a2ba60764972cf495..c31aa06cd9bc10d1c74254dae35e8563bc7c594f 100644
--- a/scripts/build/
+++ b/scripts/build/
@@ -198,7 +198,7 @@ for file in html_files:
         ### add google tracker header
         if (line.find("</head>") >= 0):
             outfile.write("""<!-- Google tracking !-->
+<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]|| function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]