From 84057e8649a8d080034252c94dec3c629a2fbe02 Mon Sep 17 00:00:00 2001 From: ashley Date: Mon, 5 Aug 2024 10:39:25 +0000 Subject: [PATCH] twenyone --- html/search.ejs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/html/search.ejs b/html/search.ejs index 26a4f58..15f774f 100644 --- a/html/search.ejs +++ b/html/search.ejs @@ -516,6 +516,11 @@ function isMathExpression(query) { } function evaluateMathExpression(expression) { + // twenyone + if (expression.replace(/\s+/g, '') === '9+10') { + return '21'; + } + try { return eval(expression); } catch (error) {