Why did the Catholic Church ban Victor Hugo's Les Miserables?

by Sikran

In all fairness I've only seen the musical, so the book might have some nuance I'm missing, but it seemed to have a very pro-Christian message, with the only positive figures of authority being priests and nuns and a very central theme of repentance, forgivance and atonement. Was the Church so pro-Monarchy back then?

UnworthyVictim