Updates parser to close void tag followed by pcdata.
Fixes parser to properly close void element when it has a closing tag.
E.g. <base href='...'></base>
Adds more parser tests.