Skip to content

Commit

Permalink
Merge pull request hexojs#250 from oncletom/fix-more-filter
Browse files Browse the repository at this point in the history
W3C Validator says `a[name]` is not compliant.
  • Loading branch information
tommy351 committed Jul 17, 2013
2 parents b149c9f + f4e9bba commit 74d451d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/plugins/filter/excerpt.js
Expand Up @@ -7,11 +7,11 @@ extend.filter.register('post', function(data){
if (regex.test(content)){
data.content = content.replace(regex, function(match, index){
data.excerpt = index;
return '<a name="more"></a>';
return '<a id="more"></a>';
});
} else {
data.excerpt = 0;
}

return data;
});
});

0 comments on commit 74d451d

Please sign in to comment.