Skip to content

Commit

Permalink
fix typo in line 22: protocal
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofzerbe authored and liolok committed Sep 26, 2019
1 parent a2707b4 commit 8378597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ hexo.extend.filter.register('after_post_render', function (data) {
$(element).each(function () {
const link = $(this).attr(attribute);
if (!link // no link found in element
|| url.parse(link).protocal // absolute link
|| url.parse(link).protocol // absolute link
|| link.startsWith('/') // root-relative link
|| link.startsWith('#') // in-page fragment link
) return; // only process base-relative link
Expand Down

0 comments on commit 8378597

Please sign in to comment.