From d72546cb145efc8bd624ac77d0dedd05e5c89e93 Mon Sep 17 00:00:00 2001 From: NekoCH <96158157+ex-hentai@users.noreply.github.com> Date: Mon, 15 May 2023 10:41:49 +0800 Subject: [PATCH] fix close all tag (cherry picked from commit 44acb96107c9b6498da07f09175cdf791265c420) --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 4ba9192c..6c319e2b 100644 --- a/include/functions.php +++ b/include/functions.php @@ -818,7 +818,7 @@ function closeall() { tagRemove = popstack(bbtags) if ( (tagRemove != 'color') ) { doInsert("[/"+tagRemove+"]", "", false); - eval("document.." + tagRemove + ".value = ' " + tagRemove + " '"); + eval("document.." + tagRemove + ".value = ' " + tagRemove.toUpperCase() + " '"); eval(tagRemove + "_open = 0"); } else { doInsert("[/"+tagRemove+"]", "", false);