fixed the highlight feature so that it does not select the full anchor tag