Complex sentence: To have "Danny" and "Margaret" divorce in that era would have been unacceptable to television audiences, so it was explained that Margaret suddenly had died off-screen.
Split into simpler sentences: To have "Danny" and "Margaret" divorce in that era would have been unacceptable to television audiences. So, it was explained that Margaret suddenly had died off-screen.