From 9bfef83efd4b02d619a14ed94e1ce62dffd2cc6c Mon Sep 17 00:00:00 2001 From: Rohitt Vashishtha Date: Fri, 6 Dec 2019 14:08:50 +0530 Subject: [PATCH] minor: Fix accidental global variable leak in marked. --- static/third/marked/lib/marked.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/third/marked/lib/marked.js b/static/third/marked/lib/marked.js index c8777267a7..a7707dbb1c 100644 --- a/static/third/marked/lib/marked.js +++ b/static/third/marked/lib/marked.js @@ -346,7 +346,7 @@ Lexer.prototype.token = function(src, top, bq) { listStart.loose = true; } - t = { + var t = { type: 'list_item_start', loose: loose };