Fixing links with target hashes.