The annulment of a voidable marriage shall not affect the legitimation. (Art. 178, FC)
The subsequent marriage of the parents must not be void ab initio, otherwise, legitimation shall not take place. If the marriage is simply voidable, the annulment of such marriage shall not affect the legitimation.