Deal with empty href tags