On some of our forums we allow our moderators to use HTML in addition to UBBcode in their posts. However, for some reason, whenever they go back in to edit the post later, the board forgets the post uses HTML and all of the tags show up unrendered in the post. I assume this would affect regular users as well, but they do not have posting privileges on the forums that use HTML. It makes no difference whether "using HTML" or "using HTML and UBBcode" is selected, or whether the board's edit lockout time has expired.
This does NOT affect admins, for whom the HTML rendering is preserved when they edit a post.
I've pored through editpost.php and modifypost.php and can't find anything wrong with the code. Moderators have full privileges except they cannot edit or ban users. Is there any way to get around this, where the solution doesn't involve "don't use HTML"?