PairTagHighlighter: add empty tags checking

All empty tags according to html5 standard + <!DOCTYPE>