Not a single one of our ancient sources indicates that Jesus was married, let alone married to Mary Magdalene. All such claims are part of modem fictional reconstructions of Jesus' life, not rooted in the surviving accounts themselves. The historical approach to our sources may not be as exciting and sensationalist as fictional claims about Jesus (he kept a lover! he had sex! he made babies!), but there's something to be said for knowing what really happened in history, even if it is not as titillating as what happens in novels.
Ch. 7: 'Jesus, Mary Magdalene, and Marriage' - Truth and Fiction in The Da Vinci Code (2004)