I'm not saying this will work, since I don't allow HTML posting to attempt to test, but:
WARNING, if you choose to modify your database directly, it is completely unsupported. Please create a backup before executing any query as if something happens this backup is your ONLY resource of recovery.UPDATE `ubbt_POSTS`
SET `POST_MARKUP_TYPE` = "html"
WHERE `POST_DEFAULT_BODY` LIKE "%</a>%"
Basically it's looking in POST_DEFAULT_BODY for the </a> HTML tag, and if it's found it switches the post type to HTML. You
WILL need to run the post content rebuilder.