Allow notices, infos and warnings contain raw HTML.

Yep, this is not implemented in a very beautiful way. I'm open to better suggestions. The point for my decision was to make as few modifications to the original code as possible.