diff --git a/lib/common/utils.js b/lib/common/utils.js index 9a8bcee..aa2464e 100644 --- a/lib/common/utils.js +++ b/lib/common/utils.js @@ -186,8 +186,8 @@ function isWhiteSpace(code) { var UNICODE_PUNCT_RE = require('uc.micro/categories/P/regex'); // Currently without astral characters support. -function isPunctChar(char) { - return UNICODE_PUNCT_RE.test(char); +function isPunctChar(ch) { + return UNICODE_PUNCT_RE.test(ch); } diff --git a/package.json b/package.json index 45e5547..2be36f0 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "argparse": "~1.0.2", "entities": "~1.1.1", "linkify-it": "~1.2.0", - "mdurl": "~1.0.0", + "mdurl": "~1.0.1", "uc.micro": "^1.0.0" }, "devDependencies": {