Complex sentence: In 1212 she married Ferdinand, Count of Flanders, then in 1237 Thomas II of Savoy, but this marriage was childless.
Split into simpler sentences: In 1212 she married Ferdinand, Count of Flanders. They wed in 1237, but this marriage was childless.