diff --git a/include/functions.php b/include/functions.php index 0a635a13..9c0c9405 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);