Handles same page <a> tags such as citation jumps