0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-07 22:52:39 +00:00

Update shared/naturalcrit/markdown.js

Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
This commit is contained in:
G.Ambatte
2024-08-02 07:03:27 +12:00
committed by GitHub
parent 6f99fe7455
commit e1fe640e92

View File

@@ -58,11 +58,8 @@ mathParser.functions.sign = function (a) {
}; };
// Add signed function // Add signed function
mathParser.functions.signed = function (a) { mathParser.functions.signed = function (a) {
if(a >= 0) { if(a >= 0) return `\\+${a}`;
return `\\+${a}`; return `\\${a}`;
} else {
return `\\${a}`;
}
}; };
//Processes the markdown within an HTML block if it's just a class-wrapper //Processes the markdown within an HTML block if it's just a class-wrapper