As you have noticed the messages and errors displayed to users are all html free. Say you wanna display a message to user and include a link in that message! you can't unless you do the core hack
or say you wanna make part of the message bold! again not possible without core hack!
'message' => qa_html(@$messages['tags']),
'message' => @$messages['tags'],