Complex sentence: Dealing with the issues of teenage pregnancy and (then-illegal) abortion, both versions were not without controversy, in spite of the fact that the play and the film each had different endings.
Split into simpler sentences: Dealing with the issues of teenage pregnancy and (then-illegal) abortion, both versions were not without controversy. The play and the film each had different endings.