diff --git a/lib/marked.js b/lib/marked.js index 142eccf00a..0b7180ff62 100644 --- a/lib/marked.js +++ b/lib/marked.js @@ -868,7 +868,7 @@ Renderer.prototype.link = function(href, title, text) { } catch (e) { return ''; } - if (prot.indexOf('javascript:') === 0) { + if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0) { return ''; } }