A child born before wedlock becomes legitimate by the subsequent marriage of its parents.
Idaho Code § 32-1006