fix crazy hash links by removing anything with tags from text used for making those links