Skip to content
Snippets Groups Projects
Commit 4c0e196f authored by andypost's avatar andypost Committed by Eric Mckenna
Browse files

Issue #1289598 by emackn, andypost: Fixed Remove check_plain() on form

options.
parent 544bcce3
No related branches found
No related tags found
No related merge requests found
...@@ -453,7 +453,7 @@ abstract class FeedsProcessor extends FeedsPlugin { ...@@ -453,7 +453,7 @@ abstract class FeedsProcessor extends FeedsPlugin {
global $user; global $user;
$formats = filter_formats($user); $formats = filter_formats($user);
foreach ($formats as $format) { foreach ($formats as $format) {
$format_options[$format->format] = check_plain($format->name); $format_options[$format->format] = $format->name;
} }
$form['input_format'] = array( $form['input_format'] = array(
'#type' => 'select', '#type' => 'select',
......
...@@ -83,7 +83,7 @@ class FeedsTermProcessor extends FeedsProcessor { ...@@ -83,7 +83,7 @@ class FeedsTermProcessor extends FeedsProcessor {
public function configForm(&$form_state) { public function configForm(&$form_state) {
$options = array(0 => t('Select a vocabulary')); $options = array(0 => t('Select a vocabulary'));
foreach (taxonomy_get_vocabularies() as $vocab) { foreach (taxonomy_get_vocabularies() as $vocab) {
$options[$vocab->machine_name] = check_plain($vocab->name); $options[$vocab->machine_name] = $vocab->name;
} }
$form = parent::configForm($form_state); $form = parent::configForm($form_state);
$form['vocabulary'] = array( $form['vocabulary'] = array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment