Add check for html void elements

An attempt to fix #5