diff --git a/shared/naturalcrit/markdown.js b/shared/naturalcrit/markdown.js index 65f9d8549..157c608e1 100644 --- a/shared/naturalcrit/markdown.js +++ b/shared/naturalcrit/markdown.js @@ -58,11 +58,8 @@ mathParser.functions.sign = function (a) { }; // Add signed function mathParser.functions.signed = function (a) { - if(a >= 0) { - return `\\+${a}`; - } else { - return `\\${a}`; - } + if(a >= 0) return `\\+${a}`; + return `\\${a}`; }; //Processes the markdown within an HTML block if it's just a class-wrapper