jquery/jquery-ui — pull request #983 by daniel-o (2013-05-08 20:19:02+00:00)
Title: Allow adding html elements as tooltip content

Can now pass HTMLElement and jQuery objects to the tooltip content option.
Added tests as well. Hopefully those look right.

Pretty much just changed the conditions that are checked for the contentOption variable. I put some of the conditions on separate lines because I thought it increased readability. So if someone could look at the formatting and scold me if I did it wrong that would be great.