Support for self-closing tags.
Added length check to prevent wrapping.
Merge pull request #6 from luksow/self-closing-tags-fix

Support for self-closing tags