And here's the outline ( a revised version of an earlier one that I don't have) and the first and third drafts, separated by a mere nine days. I'm not sure where the second one is.
Espenson writes of this episode:
‘Triangle’! Another one I like a lot. The troll was wonderful to write for. And I'm very proud of Spike's interest in the fried onion appetizer. And I love that he tries to be helpful with the location of possible babies - ‘what do you think - hospital, maybe?’