Fixed #190: documented the neat for a content-type header

This commit is contained in:
jos 2015-05-14 21:25:10 +02:00
parent 8416944f5c
commit 8a574995ff
2 changed files with 6 additions and 0 deletions

View File

@ -73,6 +73,9 @@ download:
<!DOCTYPE HTML>
<html>
<head>
<!-- when using the mode "code", it's important to specify charset utf-8 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="jsoneditor/dist/jsoneditor.min.css" rel="stylesheet" type="text/css">
<script src="jsoneditor/dist/jsoneditor.min.js"></script>
</head>

View File

@ -72,6 +72,9 @@ var json = editor.get();
<!DOCTYPE HTML>
<html>
<head>
<!-- when using the mode "code", it's important to specify charset utf-8 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="jsoneditor/dist/jsoneditor.min.css" rel="stylesheet" type="text/css">
<script src="jsoneditor/dist/jsoneditor.min.js"></script>
</head>