Actually it's fine in moderation, but the enzyme bromelain is why older people panic. Honestly, just skip it for the first trimester to avoid unnecessary stress, keep it simple!
I've seen this question a lot here. Honestly, eating a slice or two occasionally in later months is fine, but during the first few months, it's better to stay on the safer side and avoid it.
Be very careful, pineapple actually has a lot of natural sugar which can spike your blood glucose levels. If you are tracking your sugar, better to skip it or ask your dietician first.
For normal cravings, a small piece is fine, but if you feel any stomach pain or discomfort after eating, immediately call your gynac. Safety is always first!
Our body is a temple right now, so eat what makes you feel pure and positive. If you feel any doubt in your mind, just avoid it and take care of your little soul.