Permalink
Browse files

Switched to HTML 5, added spellcheck attribute to generic

  • Loading branch information...
1 parent 9572a6d commit 782d56146fa63baaff87a329cb60cadad37f51c8 Colin Kuebler committed Feb 29, 2012
Showing with 5 additions and 5 deletions.
  1. +3 −3 examples/generic.html
  2. +1 −1 examples/roygbiv.html
  3. +1 −1 examples/wysiwyg.html
View
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
@@ -37,13 +37,13 @@
// get the textarea
var textarea = $('codeArea');
// lets set it to something interesting
- textarea.value = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\n<html>\n\t' + document.documentElement.innerHTML + '\n</html>';
+ textarea.value = '<!DOCTYPE html>\n<html>\n\t' + document.documentElement.innerHTML + '\n</html>';
// start the decorator
decorator = new TextareaDecorator( textarea, parser );
};
</script>
</head>
<body>
- <textarea id='codeArea' class='input'></textarea>
+ <textarea id='codeArea' class='input' spellcheck='false'></textarea>
</body>
</html>
View
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
View
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">

0 comments on commit 782d561

Please sign in to comment.