Adapt to IrcTextFormat::toHtml()