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);