diff --git a/lib/msee.js b/lib/msee.js index 77cc0ef..04037a2 100644 --- a/lib/msee.js +++ b/lib/msee.js @@ -79,7 +79,7 @@ function processInline(src, options) { // code if (cap = inline.rules.code.exec(src)) { src = src.substring(cap[0].length); - out += color(cap[2], 'code'); + out += color(cap[3].trim(), 'code'); continue; } diff --git a/package.json b/package.json index 21c0ce9..6538124 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "chalk": "^1.1.1", "combined-stream-wait-for-it": "^1.1.0", "entities": "^1.1.1", - "marked": "^0.3.5", + "marked": "0.3.14", "nopt": "^3.0.4", "table-header": "^0.2.2", "text-table": "^0.2.0",