The cartoon published in Denmark was one of 12 that led to deadly riots across the Muslim world when they were first published in 2006 .