diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-03-17 00:41:26 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-03-17 00:41:26 +0100 |
commit | 1e52f19429f906ab8ca6896aef99681dd648db7c (patch) | |
tree | 7cdccb886885a14982a9646ca42f40583e3b8b6d | |
parent | 6f7b2a92ea1c8c93b8599ea7e1633e4a4de9c2d6 (diff) | |
download | bugzilla-triage-1e52f19429f906ab8ca6896aef99681dd648db7c.tar.gz |
Let's be cool and use HTML5. Also hopefully encoding will actually work.
-rw-r--r-- | lib/logger.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/logger.js b/lib/logger.js index 08ef87a..07f42ba 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -79,9 +79,9 @@ function timeSheetRecordsPrinter(records) { var commentBugRE = new RegExp("[bB]ug\\s+([0-9]+)","g"); // sort the records into temporary array var tmpArr = []; - var outStr = '<!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN">' + + var outStr = '<!DOCTYPE html>' + "<html><head>\n"+ - "<meta http-equiv='Content-type' content='text/html;charset=utf-8'/>\n"+ + "<meta charset='utf-8'/>\n"+ "<title>Status report</title>\n</head>\n<body>\n" + "<h1>TimeSheet</h1>\n"; |