function no_nbsp_filter_info in No Non-breaking Space Filter 7
Implements hook_filter_info().
Related topics
File
- ./
no_nbsp.module, line 31 - A filter module that deletes all non-breaking spaces.
Code
function no_nbsp_filter_info() {
$filters['filter_no_nbsp'] = array(
'title' => t('No Non-breaking Space Filter'),
'description' => t('Delete all non-breaking space HTML entities.'),
'process callback' => '_no_nbsp_process',
'settings callback' => '_no_nbsp_settings',
'default settings' => array(
'preserve_placeholders' => FALSE,
),
'tips callback' => '_no_nbsp_tips',
'weight' => -99,
);
return $filters;
}