Pineapple in pregnancy?

Patient: Can I safely eat fresh pineapple in the second trimester? I have been told its unsafe?

Doctor: