detect html links puzzle