I'm sure it was before your time, but the institutional Church has a long history of social, community, employment, educational discrimination against those in "irregular" situations which led to a LOT of heartache to those involved, including children within those families.  Most of it seems to have disappeared with cultural changes since the 1960's, but it was at least equal to the injustice the LGBT community still experiences.