You are here

function _no_nbsp_process in No Non-breaking Space Filter 7

Implements hook_filter_FILTER_process().

Process callback for hook_filter_info().

See also

no_nbsp_filter_info()

Related topics

1 string reference to '_no_nbsp_process'
no_nbsp_filter_info in ./no_nbsp.module
Implements hook_filter_info().

File

./no_nbsp.module, line 54
A filter module that deletes all non-breaking spaces.

Code

function _no_nbsp_process($text, $filter, $format) {
  return _no_nbsp_eraser($text, $filter->settings['preserve_placeholders']);
}