/**
  * Checks that the start or end html is included within the main container div
  * @param string $input The value for URL set by the user
  * @return 
  */
 public function check_end_html_included($input)
 {
     $spider = new spider($this->domain, $this->URL);
     $HTML_block = $spider->get_main_html_block($this->HTML, get_option('mainHTMLBlock'), $this->domain . $this->URL);
     if ($input != '') {
         if (strpos($HTML_block, $input) === false) {
             add_settings_error('endHTML', esc_attr('settings_updated'), 'Unable to find the end HTML with the main HTML block', 'error');
         } else {
             add_settings_error('endHTML', 'settings_updated', 'Found within the main HTML block', 'updated');
         }
     }
     return apply_filters('check_html_included', $input, $input);
 }