Fix issue with self closing tags.

If no self closing tags are specified, now all tags that are self
closing will be changed from <tag /> to <tag></tag>.