Class 1, Class 2.1, and Class 3 items should not be placed in a trailer with:

The use of cargo heaters is not always permitted. When transporting materials that are categorized as Class 1 (Explosives), Class 2.1 (Flammable Gas), or Class 3 (Flammable Liquids) materials, heaters are generally prohibited.
DMV Writen Test