Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix: Add meta element with charset attribute. (#9365)
Open html output file used Firefox and output the following error message in console.
'The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.'
So add meta element with charset(UTF-8) attribute.
  • Loading branch information
H1Gdev authored and gyandeeps committed Sep 29, 2017
1 parent 458ca67 commit 06efe87
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/formatters/html-template-page.html
@@ -1,5 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ESLint Report</title>
<style>
body {
Expand Down

0 comments on commit 06efe87

Please sign in to comment.