diff -r a4642baaf829 -r 4d4862461b8d web/wp-includes/js/codepress/languages/html.js
--- a/web/wp-includes/js/codepress/languages/html.js Tue Feb 02 14:45:47 2010 +0000
+++ b/web/wp-includes/js/codepress/languages/html.js Tue Feb 02 15:44:16 2010 +0000
@@ -1,59 +1,59 @@
-/*
- * CodePress regular expressions for HTML syntax highlighting
- */
-
-// HTML
-Language.syntax = [
- { input : /(<[^!]*?>)/g, output : '$1' }, // all tags
- { input : /(<a .*?>|<\/a>)/g, output : '$1' }, // links
- { input : /(<img .*?>)/g, output : '$1' }, // images
- { input : /(<\/?(button|textarea|form|input|select|option|label).*?>)/g, output : '$1' }, // forms
- { input : /(<style.*?>)(.*?)(<\/style>)/g, output : '$1$2$3' }, // style tags
- { input : /(<script.*?>)(.*?)(<\/script>)/g, output : '$1$2$3' }, // script tags
- { input : /=(".*?")/g, output : '=$1' }, // atributes double quote
- { input : /=('.*?')/g, output : '=$1' }, // atributes single quote
- { input : /(<!--.*?-->.)/g, output : '$1' }, // comments
- { input : /\b(alert|window|document|break|continue|do|for|new|this|void|case|default|else|function|return|typeof|while|if|label|switch|var|with|catch|boolean|int|try|false|throws|null|true|goto)\b/g, output : '$1' } // script reserved words
-]
-
-Language.snippets = [
- { input : 'aref', output : '' },
- { input : 'h1', output : '
$0
' },
- { input : 'h2', output : '$0
' },
- { input : 'h3', output : '$0
' },
- { input : 'h4', output : '$0
' },
- { input : 'h5', output : '$0
' },
- { input : 'h6', output : '$0
' },
- { input : 'html', output : '\n\t$0\n' },
- { input : 'head', output : '\n\t\n\t$0\n\t\n' },
- { input : 'img', output : '
' },
- { input : 'input', output : '' },
- { input : 'label', output : '' },
- { input : 'legend', output : '' },
- { input : 'link', output : '' },
- { input : 'base', output : '' },
- { input : 'body', output : '\n\t$0\n' },
- { input : 'css', output : '' },
- { input : 'div', output : '\n\t$0\n
' },
- { input : 'divid', output : '\n\t\n
' },
- { input : 'dl', output : '\n\t- \n\t\t$0\n\t
\n\t\n
' },
- { input : 'fieldset', output : '' },
- { input : 'form', output : '' },
- { input : 'meta', output : '' },
- { input : 'p', output : '$0
' },
- { input : 'script', output : '' },
- { input : 'scriptsrc', output : '' },
- { input : 'span', output : '$0' },
- { input : 'table', output : '' },
- { input : 'style', output : '' }
-]
-
-Language.complete = [
- { input : '\'',output : '\'$0\'' },
- { input : '"', output : '"$0"' },
- { input : '(', output : '\($0\)' },
- { input : '[', output : '\[$0\]' },
- { input : '{', output : '{\n\t$0\n}' }
-]
-
-Language.shortcuts = []
+/*
+ * CodePress regular expressions for HTML syntax highlighting
+ */
+
+// HTML
+Language.syntax = [
+ { input : /(<[^!]*?>)/g, output : '$1' }, // all tags
+ { input : /(<a .*?>|<\/a>)/g, output : '$1' }, // links
+ { input : /(<img .*?>)/g, output : '$1' }, // images
+ { input : /(<\/?(button|textarea|form|input|select|option|label).*?>)/g, output : '$1' }, // forms
+ { input : /(<style.*?>)(.*?)(<\/style>)/g, output : '$1$2$3' }, // style tags
+ { input : /(<script.*?>)(.*?)(<\/script>)/g, output : '$1$2$3' }, // script tags
+ { input : /=(".*?")/g, output : '=$1' }, // atributes double quote
+ { input : /=('.*?')/g, output : '=$1' }, // atributes single quote
+ { input : /(<!--.*?-->.)/g, output : '$1' }, // comments
+ { input : /\b(alert|window|document|break|continue|do|for|new|this|void|case|default|else|function|return|typeof|while|if|label|switch|var|with|catch|boolean|int|try|false|throws|null|true|goto)\b/g, output : '$1' } // script reserved words
+]
+
+Language.snippets = [
+ { input : 'aref', output : '' },
+ { input : 'h1', output : '$0
' },
+ { input : 'h2', output : '$0
' },
+ { input : 'h3', output : '$0
' },
+ { input : 'h4', output : '$0
' },
+ { input : 'h5', output : '$0
' },
+ { input : 'h6', output : '$0
' },
+ { input : 'html', output : '\n\t$0\n' },
+ { input : 'head', output : '\n\t\n\t$0\n\t\n' },
+ { input : 'img', output : '
' },
+ { input : 'input', output : '' },
+ { input : 'label', output : '' },
+ { input : 'legend', output : '' },
+ { input : 'link', output : '' },
+ { input : 'base', output : '' },
+ { input : 'body', output : '\n\t$0\n' },
+ { input : 'css', output : '' },
+ { input : 'div', output : '\n\t$0\n
' },
+ { input : 'divid', output : '\n\t\n
' },
+ { input : 'dl', output : '\n\t- \n\t\t$0\n\t
\n\t\n
' },
+ { input : 'fieldset', output : '' },
+ { input : 'form', output : '' },
+ { input : 'meta', output : '' },
+ { input : 'p', output : '$0
' },
+ { input : 'script', output : '' },
+ { input : 'scriptsrc', output : '' },
+ { input : 'span', output : '$0' },
+ { input : 'table', output : '' },
+ { input : 'style', output : '' }
+]
+
+Language.complete = [
+ { input : '\'',output : '\'$0\'' },
+ { input : '"', output : '"$0"' },
+ { input : '(', output : '\($0\)' },
+ { input : '[', output : '\[$0\]' },
+ { input : '{', output : '{\n\t$0\n}' }
+]
+
+Language.shortcuts = []