Separating avatar html from message content to allow different display modes.