diff --git wysiwyg_filter.admin.inc wysiwyg_filter.admin.inc index 7726076..decf2ca 100644 --- wysiwyg_filter.admin.inc +++ wysiwyg_filter.admin.inc @@ -241,13 +241,6 @@ function wysiwyg_filter_settings_filter_validate($form, &$form_state) { form_set_error($field_name, implode('
', $errors)); } } - - $nofollow_domains = array_filter(explode(',', preg_replace('#\s+#', ',', $form_state['values']['wysiwyg_filter_nofollow_domains_'. $format]))); - foreach ($nofollow_domains as $nofollow_domain) { - if (!preg_match('#^([a-z0-9]([-a-z0-9]*)?\.)+([a-z]+)$#i', $nofollow_domain)) { - form_set_error('wysiwyg_filter_nofollow_domains_'. $format, t('Invalid domain %domain. Please, enter a comma separated list of valid domain names.', array('%domain' => $nofollow_domain))); - } - } } /**