Add hattribs arg to highlighting
Handle getParent for non elements