All nuisances that tend to annoy the community, injure the health of the citizens in general, or corrupt the public morals are misdemeanors of the second degree, and punishable as provided in F.S. 775.083, except that a violation of F.S. 823.10 (Place where controlled substances are illegally kept, sold, or used declared a public nuisance) is a felony of the third degree.