There is no evidence that avoiding any food during pregnancy and during the period of breast-feeding will prevent the development of food allergies in your baby.
It is very important that you have a healthy well balanced diet during these important periods. For example, avoiding milk could predispose you to osteoporosis. Therefore, no major dietary changes should be undertaken without consulting your doctor or a dietician.
For further information on eating during pregnancy, visit the Food Standards Agency website.