A white lawmaker’s racist post had been swept under the rug.