changes to prevent # links to open in external browser