[LNT] r258674 - [html] Advertize the charset actually being used. NFC.

Arnaud A. de Grandmaison via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 25 01:58:52 PST 2016


Author: aadg
Date: Mon Jan 25 03:58:52 2016
New Revision: 258674

URL: http://llvm.org/viewvc/llvm-project?rev=258674&view=rev
Log:
[html] Advertize the charset actually being used. NFC.

Summary:
We currently advertize the ISO-8859-1 charset is used when we
actually use UTF-8. Let's be consistent an advertize the truth.

This is the last patch in a serie which has brought the main, machine, run and
daily_report pages into clean html (according to https://validator.w3.org/nu).

Reviewers: cmatthews, ddunbar

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D14830

Modified:
    lnt/trunk/lnt/server/ui/templates/layout.html

Modified: lnt/trunk/lnt/server/ui/templates/layout.html
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/server/ui/templates/layout.html?rev=258674&r1=258673&r2=258674&view=diff
==============================================================================
--- lnt/trunk/lnt/server/ui/templates/layout.html (original)
+++ lnt/trunk/lnt/server/ui/templates/layout.html Mon Jan 25 03:58:52 2016
@@ -1,6 +1,7 @@
 <!DOCTYPE html>
 <html lang="en">
 <head>
+  <meta charset="UTF-8"/>
   <link href="{{ url_for('.static', filename='bootstrap/css/bootstrap.min.css')
               }}" rel="stylesheet" media="screen"/>
   <link href="{{ url_for('.static', filename='bootstrap/css/bootstrap-responsive.min.css')
@@ -23,12 +24,12 @@
   <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.8/css/jquery.dataTables.css" />
                  
    <!-- DataTables -->
-   <script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.8/js/jquery.dataTables.js">
+   <script type="text/javascript" charset="UTF-8" src="//cdn.datatables.net/1.10.8/js/jquery.dataTables.js">
    </script>
 
 
   <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
-  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
 
   <style type="text/css">
     /* Sticky footer styles ------------------------------------------------- */




More information about the llvm-commits mailing list