emberjs/ember.js — pull request #2336 by schmidp (2013-03-24 02:18:52+00:00)
Title: Fix Firefox <= 10 missing outerHTML

In Firefox <= 10 there is no outerHTML, as a workaround we wrap the element with a div and return the wrapped elements innerHTML.

It looks ugly to me and someone with more insight might find a better solution, but it works for me.