A woman got married while in Iddah (waiting period) following the death of a husband. Is this allowed?

Question

What is required for a Muslim woman after her husband death is to observe an Iddah of four months and ten days from the date of his death, if she is not pregnant. If she is pregnant, then her Iddah lasts untill she gives birth. It is not permissible for a woman who is in Iddah to get married during her Iddah. After the Iddah the second husband may do a marriage contract.