Is pineapple in pregnancy safe?

pregnant woman and a pineapple