The privilege of the writ of habeas corpus shall not be suspended unless, when in case of rebellion or invasion, the public safety may require. [Originally § 5 of the 1889 constitution; renumbered art. I, § 14 effective 1981-01-01.]