HTML void elements fix

Fixed void elements being outputted with a end tag (img, area, etc.)