lilypond-devel
[Top][All Lists]
Advanced

[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: ,

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

If you want to check it in
https://validator.w3.org/
then you can use
http://percival-music.ca/lilypond/index.html

http://lilypond.org/ fails the validation due to this.

Description:
web: fix HTML 4.01 validation

This was broken in 9580a231b3d3f912f46066009114a2929ecbb16a.

Please review this at https://codereview.appspot.com/316060043/

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


Index: scripts/build/website_post.py
diff --git a/scripts/build/website_post.py b/scripts/build/website_post.py
index 9fba75445fd86e0e219fc52a2ba60764972cf495..c31aa06cd9bc10d1c74254dae35e8563bc7c594f 100644
--- a/scripts/build/website_post.py
+++ b/scripts/build/website_post.py
@@ -198,7 +198,7 @@ for file in html_files:
         ### add google tracker header
         if (line.find("</head>") >= 0):
             outfile.write("""<!-- Google tracking !-->
-<script>
+<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]