diff --git a/src/resources/markdown-it.js b/src/resources/markdown-it.js index 4a31f5dd..6bdd1bba 100644 --- a/src/resources/markdown-it.js +++ b/src/resources/markdown-it.js @@ -125,10 +125,10 @@ mdit.use(window.markdownitContainer, 'alert', { }, render: function (tokens, idx) { - let type = tokens[idx].info.trim().match(/^(alert-\S+)$/); + var type = tokens[idx].info.trim().match(/^(alert-\S+)$/); if (tokens[idx].nesting === 1) { // opening tag - let alertClass = type[1]; + var alertClass = type[1]; return '