ded/bonzo — pull request #69 by aliem (2012-01-13 19:56:19+00:00)
Title: .html() can insert HTMLElements

don't know if it was intended, but, calling `$('#id').html($('

'))` used `el.innerHTML` instead of `appendChild()` as http://jsfiddle.net/UwzVF/1/

var bDiv = bonzo.create('

');

bonzo(bDiv).text('bonzo')

bonzo(document.getElementById('bz'))
.html(bDiv)

resulted in:

[object HTMLDivElement]

there is a small caveat, in the code I could see a reference to `(m = el.tagName.match(specialTags))` calling `append(el, m[0])`, but `append` used only the first argument `el`, in this patch I removed it. Was it some planned unfinished feature?