component/domify — pull request #11 by timoxley (2012-10-14 11:05:30+00:00)
Title: Support generation of body elements with attributes (e.g. class)

I don't understand the purpose of the `stripBody` [function](https://github.com/component/domify/blob/44b94967a1a5329ffe2025d8efa4a3d00e08d7ee/index.js#L67). Is it something to do with cross-browser compatibility? I have tested recent chrome/firefox/safari, but have no IE to test (same goes for the other PRs in fact :( ).

Anyway, `domify('

')` loses the class. This patch fixes that.