Complex sentence: Flett's parents had been married "according to the custom of the country", but in December 1893 they were married by a Church of England minister, and their sons were baptized.
Split into simpler sentences: Flett's parents had originally been married "according to the custom of the country". They formalized the union in December 1893, when they were married by a Church of England minister and their sons were baptized.