Moonhead and 5029, actually I asked the question because I always thought Eliza married Prof Higgins, but then someone who is an expert on plays said that she married Freddie. So we'll never know for sure now!
In the Play, Pygmalion, she marries Freddie. In the Musical, My Fair Lady, she marries Prof. Higgins. My Fair Lady is based on Pygmalion but they made some changes which I can't remember in detail as I read it 25 years ago.