Author expelled after calling Harry Potter "gay"