Unfortunately, Gandhi did have some racists quotes MLK was unaware of. It doesn't take away from what he did for his people.
Can you quote me one of his racist quotes? I would rather learn the truth than hold on to a fairy tale story.
To the British during WWII:
~ G.D. Birlas In the Shadow of the Mahatma, p. 276This manslaughter must be stopped. You are losing; if you persist, it will only result in greater bloodshed. Hitler is not a bad man.
During World War II, anti British fury was on rise in India and British were not having any luck with recruiting Indians to join Indian Army. So British reached out to Gandhi for help and then Gandhi urged Indians to join the army. It took quite a bit of effort on the part of British to convince him to advocate armed struggle against Hitler. They had to show him the pictures of concentration camps, etc to convince him.
I do not think Gandhi was a politician. He was more of a saint. People like him do not think anyone is bad.