Skip to content

Commit

Permalink
Fix the comment_mark in index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
einars committed Mar 1, 2012
1 parent 8956e2a commit 2d3a415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -328,7 +328,7 @@
function looks_like_html(source)
{
var trimmed = source.replace(/^[ \t\n\r]+/, '');
var comment_mark = '<-' + '-';
var comment_mark = '<!-' + '-';
return (trimmed && (trimmed.substring(0, 1) === '<' || trimmed.substring(0, 4) === comment_mark));
}

Expand Down

0 comments on commit 2d3a415

Please sign in to comment.