Fix #45: Marked Occurrences sometimes marks incorrect matching tag for HTML and XML.