Food and Drink

Consuming haraam

Q: If a person were to consume haraam food eg. a chocolate without any doubt or without knowledge that it contains haraam, would a person's imaan be weakened? Similarly eating take aways.