As the article points out it’s a generational thing. As everywhere else cultural change comes as the generations change and become more aware, better educated and as a consequence more tolerant.
The Spanish people in my experience are incredibly tolerant of difference, try living in France. They still hate the English for defeating them at Waterloo. 🙂