There's two types of contempt: civil and criminal. They can only get jail time if criminal contempt were to be charged by the court, a prosecutor appointed, hearing/trial/proceeding held, etc. and the judge found said contempt, and judges are very reluctant to do that unless it's crystal clear.