Browse Source

Updated and optimized call

pull/82/head
Vitaly Puzrin 10 years ago
parent
commit
7075e8881f
  1. 2
      lib/rules_core/linkify.js
  2. 2
      package.json

2
lib/rules_core/linkify.js

@ -26,7 +26,7 @@ module.exports = function linkify(state) {
for (j = 0, l = blockTokens.length; j < l; j++) { for (j = 0, l = blockTokens.length; j < l; j++) {
if (blockTokens[j].type !== 'inline' || if (blockTokens[j].type !== 'inline' ||
!state.md.linkify.test(blockTokens[j].content)) { !state.md.linkify.pretest(blockTokens[j].content)) {
continue; continue;
} }

2
package.json

@ -20,7 +20,7 @@
"dependencies": { "dependencies": {
"argparse": "~1.0.0", "argparse": "~1.0.0",
"entities": "~1.1.1", "entities": "~1.1.1",
"linkify-it": "~0.1.2", "linkify-it": "~0.1.5",
"mdurl": "~1.0.0", "mdurl": "~1.0.0",
"uc.micro": "^1.0.0" "uc.micro": "^1.0.0"
}, },

Loading…
Cancel
Save