Yes - that was initially what I wrote, but I wanted to keep compatibility with nodejs which won't have a document object. Internally, $().append() && $().html() (which calls $().append()) both use $.buildFragment.

Additionally options.partial doesn't return anything so no change there.