Parsing out problematic symbols in the ID of anchor links