What is the best method to change this object
{ src: \'img.jpg\', title: \'foo\' }
into a valid HTML tag string like t
Perhaps slightly more concise than PSL's?
$('',object)[0].outerHTML;