fix for anchor tags and full urls