From ff67f8381bba5bc0241e621b729692e5567ee626 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 2 Dec 2019 13:10:38 -0500 Subject: [PATCH] oops, I really should have linted before pushing... --- www/common/diffMarked.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/diffMarked.js b/www/common/diffMarked.js index 35bd82c55..5817e5ac9 100644 --- a/www/common/diffMarked.js +++ b/www/common/diffMarked.js @@ -84,7 +84,7 @@ define([ var defaultCode = renderer.code; renderer.code = function (code, language) { - if (language === 'mermaid' && code.match(/^(graph|pie|gantt|sequenceDiagram|classDiagram|gitGraph)/))) { + if (language === 'mermaid' && code.match(/^(graph|pie|gantt|sequenceDiagram|classDiagram|gitGraph)/)) { return '
'+code+'
'; } else { return defaultCode.apply(renderer, arguments);