summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--handlers/views_handler_field.inc14
1 files changed, 8 insertions, 6 deletions
diff --git a/handlers/views_handler_field.inc b/handlers/views_handler_field.inc
index 7fa9d3e..c8864c5 100644
--- a/handlers/views_handler_field.inc
+++ b/handlers/views_handler_field.inc
@@ -844,12 +844,7 @@ If you would like to have the characters %5B and %5D please use the html entity
'#description' => t('If checked, all HTML tags will be stripped.'),
'#default_value' => $this->options['alter']['strip_tags'],
);
- $form['alter']['trim_whitespace'] = array(
- '#type' => 'checkbox',
- '#title' => t('Remove whitespace'),
- '#description' => t('If checked, all whitespaces at the beginning and the end of the output will be removed.'),
- '#default_value' => $this->options['alter']['trim_whitespace'],
- );
+
$form['alter']['preserve_tags'] = array(
'#type' => 'textfield',
'#title' => t('Preserve certain tags'),
@@ -860,6 +855,13 @@ If you would like to have the characters %5B and %5D please use the html entity
),
);
+ $form['alter']['trim_whitespace'] = array(
+ '#type' => 'checkbox',
+ '#title' => t('Remove whitespace'),
+ '#description' => t('If checked, all whitespaces at the beginning and the end of the output will be removed.'),
+ '#default_value' => $this->options['alter']['trim_whitespace'],
+ );
+
$form['alter']['nl2br'] = array(
'#type' => 'checkbox',
'#title' => t('Convert newlines to HTML <br> tags'),