Fixed bug where, when defining void elements, the parent element was never closed.