Skip to content

Commit

Permalink
FIX: not found hexo-util with base hexo install.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-nginx authored Mar 12, 2017
1 parent ca02756 commit 13d4791
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/tags/exturl.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

'use strict';

var util = require('hexo-util');
var util = require(hexo.base_dir + 'node_modules/hexo/node_modules/hexo-util');
var htmlTag = util.htmlTag;
//console.log(util);

var rUrl = /((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[.\!\/\\w]*))?)/;

Expand Down

0 comments on commit 13d4791

Please sign in to comment.