Skip to content

Commit de0b7df

Browse files
committed
HTML5 expects meta charset, and FF complains in console without it; should be before title in case special chars used within title
1 parent 29643da commit de0b7df

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

demo.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<meta charset="utf-8" />
45
<title>JSON Editor Example</title>
56

67
<!-- placeholders for the theme switcher -->

examples/advanced.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<meta charset="utf-8" />
45
<title>Advanced JSON Editor Example</title>
56

67
<script src="../dist/jsoneditor.js"></script>

examples/basic.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<meta charset="utf-8" />
45
<title>Basic JSON Editor Example</title>
56
<script src="../dist/jsoneditor.js"></script>
67
</head>

examples/css_integration.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<meta charset="utf-8" />
45
<title>CSS Integration JSON Editor Example</title>
56

67
<!-- Foundation CSS framework (Bootstrap and jQueryUI also supported) -->

tests/validation.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<meta charset="utf-8" />
45
<title>JSON Editor Validation Example</title>
56
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
67
<script src='../dist/jsoneditor.js'></script>

0 commit comments

Comments
 (0)