Skip to content

Commit

Permalink
Fix charset
Browse files Browse the repository at this point in the history
UTF-8 needs to have a dash, see e.g. the example
[here](https://www.w3.org/TR/html50/document-metadata.html#character-encoding-declaration).

The current value of `utf8` does not work with Internet Explorer 11. I guess most other browsers
will default to UTF-8 anyway when they encounter an unknown charset value.
  • Loading branch information
romankaravia authored and Conduitry committed Sep 15, 2019
1 parent acf40fd commit 6a0e854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<meta charset='utf8'>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width'>

<title>Svelte app</title>
Expand All @@ -15,4 +15,4 @@

<body>
</body>
</html>
</html>

0 comments on commit 6a0e854

Please sign in to comment.